diff --git "a/LiiNi-coder/202510/24 PGM \355\224\274\353\263\264\353\202\230\354\271\230 \354\210\230.md" "b/LiiNi-coder/202510/24 PGM \355\224\274\353\263\264\353\202\230\354\271\230 \354\210\230.md" new file mode 100644 index 00000000..5b84905c --- /dev/null +++ "b/LiiNi-coder/202510/24 PGM \355\224\274\353\263\264\353\202\230\354\271\230 \354\210\230.md" @@ -0,0 +1,14 @@ +```java +class Solution { + public int solution(int n) { + return pibo(n); + } + public static int pibo(int n){ + if(n == 0) + return 0; + else if(n == 1) + return 1; + return pibo(n-1) + pibo(n-2); + } +} +```