InterviewBit Problems   Distribute Candy : Solved

About the Distribute Candy : Solved category (1)
6 Lines of C++ code! too easy to believe (3)
O(n) space solution Simple to grasp (1)
Single Pass O(N) Time, O(1) Space Solution (1)
O(n) time O(n) space C++ (2)
Python O(N) solution with O(2N) space complexity (1)
C++ [Using Repeated distribution] [Different from Editorial] (1)
Simple DP Solution (O(n) space and O(n) time) (1)
C++ solution O(n) time complexity and O(1) space complexity (1)
Very Easy Python Solution (Iterate first from left then from right) (1)
Please someone check my code. What i am doing wrong? (1)
Dekhlo ek baar samjh aa jaae shyd (1)
C++ Solution apt one (1)
Easy O(n) space and time solution (1)
What is wrong in the code? (1)
Python help code (1)
Someone tell me whats wrong (2)
Solve using LinkedList (1)
O(n) sol with comments (1)
Unusual c++ solution using priority_queue (1)
Some test cases not correct (1)
O(N) Solution in C++ (2)
Python O(N) time and O(1) space complexity solution (1)
Simple C++ O(N) time and O(1) space complexity solution (2)
Greedy Solution [Java, Time: O(n), Space: O(n)] (1)
What is wrong with my code? please help (1)
What is wring in the solution? (2)
Please post recursive solution to this problem (1)
A simple linear solution (1)
Simple and easy to understand C++ solution : O(n) complexity (1)