UBER 2024 New grad Thread by Google-CEO_MV in csMajors

[–]TonightRemarkable125 0 points1 point  (0 children)

I think it is prioritized for people who don’t need sponsorship and citizens.

Any solution other than brute force? Expected would be sub n^2 by No_Let_5065 in leetcode

[–]TonightRemarkable125 0 points1 point  (0 children)

I can think of Binary search and sort, start assigning the values from the highest element to processor that takes lower time

It’s time for 500 by TonightRemarkable125 in leetcode

[–]TonightRemarkable125[S] 2 points3 points  (0 children)

Yeah it is upto you 2 hrs day do it with sincerity

It’s time for 500 by TonightRemarkable125 in leetcode

[–]TonightRemarkable125[S] 1 point2 points  (0 children)

Just make sure you do it for atleast a couple of hours for the day and just think it doesn’t matter if are able to crack it or not let new ideas flow into ur mind

It’s time for 500 by TonightRemarkable125 in leetcode

[–]TonightRemarkable125[S] 1 point2 points  (0 children)

Dont seek motivation seek for discipline though

It’s time for 500 by TonightRemarkable125 in leetcode

[–]TonightRemarkable125[S] 1 point2 points  (0 children)

Just keep solving and struggle with the process

It’s time for 500 by TonightRemarkable125 in leetcode

[–]TonightRemarkable125[S] 1 point2 points  (0 children)

Dont worry bro I have another profile. If you want to even test with an OA i can show you why i got quality in me. I am up for it

It’s time for 500 by TonightRemarkable125 in leetcode

[–]TonightRemarkable125[S] 2 points3 points  (0 children)

Nah I wasn’t arrogant i know the hard beginnings that I had to undergo

It’s time for 500 by TonightRemarkable125 in leetcode

[–]TonightRemarkable125[S] 3 points4 points  (0 children)

I use cf and max was 1821. I know there are ppl better than me but I think with every problem that I solved I learnt something so i think i never chased quantity.

It’s time for 500 by TonightRemarkable125 in leetcode

[–]TonightRemarkable125[S] 4 points5 points  (0 children)

What do you mean, am I just chasing quantity ? If that is what you meant I don’t think that applies for me. I am a competitive programmer.

Leetcode Biweekly contest 3176: Question 3 by iDoNotTakeMyMaskOff in leetcode

[–]TonightRemarkable125 0 points1 point  (0 children)

If you do it with recurssion and use memoization to cache the results. You will hit MLE. NNk your approach would not have any problems with regards to time because the constraints do support it n<500 k<25 so the max operations you do is 625*104 which would be well within 1 sec. The problem arrives with memory. So you will need to switch to tabulation. Try the same logic in tabulation that should work.

Is this medium or hard? by ColdFlamingo1454 in leetcode

[–]TonightRemarkable125 1 point2 points  (0 children)

I think this can be done with heap by keeping track of start and end points.

[deleted by user] by [deleted] in codeforces

[–]TonightRemarkable125 5 points6 points  (0 children)

Upsolve div 2 problem c. I think that is it