{"ScriptPreparationCode":null,"TestCases":[{"Name":"fib for","Code":"function fibonacci(num)\r\n{\r\n var num1=0;\r\n var num2=1;\r\n var sum;\r\n var i=0;\r\n for (i = 0; i \u003C num; i\u002B\u002B) \r\n {\r\n sum=num1\u002Bnum2;\r\n num1=num2;\r\n num2=sum;\r\n }\r\n return num2;\r\n}\r\n\r\nfibonacci(25)","IsDeferred":false},{"Name":"fib recursive","Code":"function getFib(num) {\r\n if (num === 0) {\r\n return 0;\r\n }\r\n else if (num === 1) {\r\n return 1;\r\n }\r\n else {\r\n return getFib(num - 1) \u002B getFib(num - 2);\r\n }\r\n}\r\n\r\ngetFib(25)","IsDeferred":false}]}