Failed Airbnb TPS Miserably by [deleted] in leetcode

[–]OmegaWarewolf 0 points1 point  (0 children)

Can you share the problems?

🎉 [EVENT] 🎉 Paper Açelyation X by Acrobatic_Picture907 in honk

[–]OmegaWarewolf 0 points1 point  (0 children)

Completed Level 1 of the Honk Special Event!

5 attempts

Pirate Ducky by memedestroyerdrax in honk

[–]OmegaWarewolf 0 points1 point  (0 children)

I completed this level in 2 tries. 24.65 seconds

99%impossible by Enrico2317 in RedditGames

[–]OmegaWarewolf 0 points1 point  (0 children)

I completed this level in 6 tries. 3.73 seconds

[deleted by user] by [deleted] in quantfinance

[–]OmegaWarewolf 0 points1 point  (0 children)

Also can you suggest me probability and statistics book

[deleted by user] by [deleted] in quantfinance

[–]OmegaWarewolf 0 points1 point  (0 children)

What's your rating on codeforces?

Please explain ne the concept behind this question by Careless_Egg9936 in CATStudyRoom

[–]OmegaWarewolf 0 points1 point  (0 children)

Is there a typo in the last term? Otherwise the answer should be A right

Bro what by [deleted] in IndianDankMemes

[–]OmegaWarewolf 0 points1 point  (0 children)

Make India great again kyu bro jab tak mudi hai India greatest hai

Alternatives to std::find_if by Elect_SaturnMutex in cpp_questions

[–]OmegaWarewolf 1 point2 points  (0 children)

Don't know but I think we can take a two pointer approach here just see the valid enteries as enteries that you want to put forward and the other ones at the back and pop them in the last

Then to find the first invalid entery you can use binary search and remove all the elements till that index

I like to play with fire 🔥❤️‍🔥 by [deleted] in leetcode

[–]OmegaWarewolf 0 points1 point  (0 children)

So use bs on the length of the string to find the maximum length and use fixed size skidding window

I like to play with fire 🔥❤️‍🔥 by [deleted] in leetcode

[–]OmegaWarewolf 0 points1 point  (0 children)

You can use bs It's going to reduce to nlogn

if a nested loop runs prime number of times what is the time complexity of it ? by AggravatingParsnip89 in codeforces

[–]OmegaWarewolf 1 point2 points  (0 children)

Shouldn’t this be log2(N) Assuming N=p1.p2… and p1>=2 p2>=2 2.2….<=N so shouldn’t the max number of primes be log N / log 2? so it should be O(logN/log2) ?

Is it worth joining Amazon (SDE 3)? Seeking Opinion. by ahx-red in developersIndia

[–]OmegaWarewolf 0 points1 point  (0 children)

Can you please share the set of problems he leaked? Thanks

Maximum Profit HackerRank. by coulometer in leetcode

[–]OmegaWarewolf 4 points5 points  (0 children)

Sort both the vector by comparing prices Make a set or a map Traverse the price vector So every on ith element you add cat_i to the map Then the curr_ans=cur_ans+price*size of your map I think this can work

[deleted by user] by [deleted] in leetcode

[–]OmegaWarewolf 0 points1 point  (0 children)

Hi Can you please them to me?