LeetCode Solutions/Problems/509. Fibonacci Number.java
<reponame>DevashishPathrabe/LeetCode<filename>LeetCode Solutions/Problems/509. Fibonacci Number.javaclass Solution {
    public int fib(int n) {
        if (n == 0){
            return 0;
        }
        if (n == 1){
            return 1;
        }
        return fib(n - 1) + fib(n - 2);
    }
}