Sign up now
to enroll in courses, follow best educators, interact with the community and track your progress.
Download
🆙 उत्तर प्रदेश current affairs lesson-1 (in Hindi)
1,584 plays

More
Important questions related to uttar pradesh


Comments
U
Unacademy user
SR
This algorithm however seems to fail for the following test case I guess! Correct me if I'm wrong! 1 4 8 1 10 4 4 Solution: Modifying the line 37 as follows will work! if(i < j){ j++; temp += costs[j]; }