We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Sequence Equation
Sequence Equation
Sort by
recency
|
1541 Discussions
|
Please Login in order to post a comment
Here is problem solution in Python, Java, C++, C and Javascript - https://programmingoneonone.com/hackerrank-sequence-equation-problem-solution.html
Java 100% O(N):
Here is my O(N) c++ solution, you can watch the explanation here : https://youtu.be/D9nfVOmmv7Q
My python3 solution
Kotlin: