Answer to Question #44982 in Other Programming & Computer Science for iswaryav
Given a Fibonacci sequence (http://en.wikipedia.org/wiki/Fibonacci_number), start cancelling every Lth element. Wrap around and continue the cancellation until only one element remains. As the Fibonacci number will overflow in a traditional data type, take modulus of the number with 1000000007.
No comments. Be first!