Tried the brute force approach using my elementary understanding of DSA. Got stuck on one of the larger test cases. Your explanation makes a lot of sense, thanks a ton.
@techdose4u3 күн бұрын
welcome
@tanishyadav38624 күн бұрын
was probably doing some bs earlier...got tle on 93rd tc..thanks for the solution sir
@techdose4u4 күн бұрын
welcome :)
@jigyarthjoshi60023 күн бұрын
With O(n^2) 93/94 pass You need to optimise for the last TC
@tanishyadav38623 күн бұрын
@@jigyarthjoshi6002 yup I did ❤️👍🏻
@SSR01084 күн бұрын
Standard approach of PrefixSum Problem thank you Sir
@techdose4u4 күн бұрын
yepp
@jasmeetsingh31703 күн бұрын
i m stuck at 9th testcase but im doing the brute force approach. Thankyou so much sir for optimal solution.
@techdose4u3 күн бұрын
nice!
@sailendrachettri85213 күн бұрын
Thank you sir :)
@techdose4u3 күн бұрын
Most welcome!
@sabukuna3 күн бұрын
thanks. i get it know.
@techdose4u3 күн бұрын
great
@alokkhandelwal15943 күн бұрын
sir please explain why did we used l-1 , what it is
@techdose4u3 күн бұрын
which line & code ?
@Karnikhil913 күн бұрын
can u do in hindi ? i dont have any problem in english But when your doing DSA and Understanding in English seems to be Double the Pressure as Non English Person or Whose First language is not English
@techdose4u3 күн бұрын
English is expected in Software industry. Hence taking the pressure now will help you a lot to advance in your career :)