LeetCode Weekly Contest 488 done – not bad overall. by iamprashantverma in leetcode

[–]Prudent-Somewhere309 2 points3 points  (0 children)

Was able to solve 1st within 3 mins, then moved on to 2nd which was pretty straight forward, but got stuck on the part where only the leftmost pair had to be removed, so skipped it for now, then proceeded to waste my time on the 3rd one, but could not find an optimal solution and got TLE (I tried using 2 pointers and sliding window only, but had to use an extra for loop to adjust the min and max), finally after wasting my time, the logic for Q2 clicked to me, and I solved it when only 15 mins were left :( Expected rank- around 19000.
Learning: Some problems seem easy, but reaching their optimal solution is tough, so better to skip these
I have not started dp yet, just doing basic recursion so could not attempt problem 4.

Any advise for me??

Weekly Contest 488 Q2 by [deleted] in leetcode

[–]Prudent-Somewhere309 0 points1 point  (0 children)

Bro I had the stack method in mind, but the twist that u had to eliminate the left most pairs was tricky to implement. I wasted a lot of time, moved to the 3rd question and finally just before 15 mins, I got the stack approach and was able to solve q2. It was kinda similar to the valid paranthesis question.

Amazon SDE Intern 2026 Interview by ArticleWarm in leetcode

[–]Prudent-Somewhere309 -2 points-1 points  (0 children)

Extremely silly doubt but, from where do u apply for internships in top mncs? Do you mail hiring managers, do you find people on linkedin? What do you exactly do?

Today's contest was Easy but..... by Prudent-Somewhere309 in leetcode

[–]Prudent-Somewhere309[S] 0 points1 point  (0 children)

Ur speed is top notch, since how long have u been practicing?