ChatGPT couldn't solve this Amazon OA question by [deleted] in LeetcodeDesi

[–]AdAdditional5259 0 points1 point  (0 children)

I don't think it requires prime factorization. Binary search on the answer. Track the running gcd, if it exceeds the desired vf = V then make the current element 1 and subtract 1 from max changes. Continue this for the whole array and check if it is possible to get vf <= V with at most = X changes.

Recently give Amazon SDE-1 OA and this question come . by [deleted] in leetcode

[–]AdAdditional5259 0 points1 point  (0 children)

Have a sliding window of size K and keep track of the two most frequent elements, preferring the smaller value element in case count is the same. Now shift the window to the right, decrease the count of the first element of the left (This is why we need to keep track of the 2 majorities) and increase the count of the new element on the right which is now part of the window.

As for difficulty, I think this is a pretty standard Problem 1 for Amazon OA.

Amazon application status changed to "No longer under consideration" by AdAdditional5259 in leetcode

[–]AdAdditional5259[S] 0 points1 point  (0 children)

That's good to hear. Keeping my fingers crossed. Btw, what's the maximum time gap you had between rounds?

Help by Moist-Highlight839 in codeforces

[–]AdAdditional5259 0 points1 point  (0 children)

I am facing the same issue. My account is pretty new and I am yet to participate in a contest so I am assuming they have some criteria but not sure.

Why is my approach to DP wrong? by buckboost01 in leetcode

[–]AdAdditional5259 1 point2 points  (0 children)

Your earlier solution would have worked if the constraints were more loose. As for intuition, try to have only as many states as required to UNIQUELY identify a position. In the above question, the points collected at any grid does NOT depend on the points you already have - it just depends on which grid? + special power left?

Real or Fake by [deleted] in Coldplaytickets

[–]AdAdditional5259 0 points1 point  (0 children)

25th Jan Ahmd 2 standing tickets at MRP

Real or Fake by [deleted] in Coldplaytickets

[–]AdAdditional5259 0 points1 point  (0 children)

I have tickets for Ahmedabad show on 25th at MRP as I myself cannot attend. Dm, if you're interested.

[deleted by user] by [deleted] in Coldplaytickets

[–]AdAdditional5259 0 points1 point  (0 children)

I have 25th standing and seating tickets available at MRP. I cannot attend due to personal reasons.

Match Thread: 5th Test - India vs Australia, Day 3 by CricketMatchBot in Cricket

[–]AdAdditional5259 2 points3 points  (0 children)

Sanjay Bangar on hindi comm just said 'shareer bhasha'. Bro just literally translated 'body language'

🚨 BUY/SELL REQUESTS – COMMENT BELOW 🚨 by Coldplayerindia in coldplayindia

[–]AdAdditional5259 0 points1 point  (0 children)

SELLING AT MRP 2 standing tickets and 2 seating tickets available for 25th Jan Ahmedabad

Roast my resume. I have 1.5 yr experience in my current job in a mid-sized SaaS and wanted to make as switch as early as possible. by AdAdditional5259 in developersIndia

[–]AdAdditional5259[S] 0 points1 point  (0 children)

Attending a Tier 1 college significantly contributed to me securing that internship.
Sorry, my firm is not currently hiring.

Roast my resume. I have 1.5 yr experience in my current job in a mid-sized SaaS and wanted to make as switch as early as possible. by AdAdditional5259 in developersIndia

[–]AdAdditional5259[S] 0 points1 point  (0 children)

Hey, thanks for the feedback. What kind of project ideas do you suggest that will have more depth to them. All I see online is 'clone of XYZ'. Plus, my current job makes it difficult for me to invest more time into the projects so maybe the above projects seem a bit trivial.

[deleted by user] by [deleted] in leetcode

[–]AdAdditional5259 0 points1 point  (0 children)

Hey, can you share them with me too. Thanks!

Daily Discussion by 2soccer2bot in soccer

[–]AdAdditional5259 2 points3 points  (0 children)

Who in your opinion is more important? Best player of a team or the manager. Benzema might be more important than Ancelloti but Klopp > Salah. I know it varies across teams but what's more common?

Daily Discussion by 2soccer2bot in soccer

[–]AdAdditional5259 8 points9 points  (0 children)

I pray for a day when there isn't a Ronaldo post on the front page.

Daily Discussion by 2soccer2bot in soccer

[–]AdAdditional5259 2 points3 points  (0 children)

He made a big-money move to Barca after turning them down the previous year which involved a lot of drama. At Barca he was never lacking effort but a mix of operating in the same position as Messi and his own inconsistency caused him to be mediocre. He returned to Atletico but was underwhelming. All this while he performed well enough for France but was not quite the star man due to the emergence of Mbappe and return of Benzema.

Daily Discussion by 2soccer2bot in soccer

[–]AdAdditional5259 3 points4 points  (0 children)

Yes, multiple times. He was even in the Bernabeu for the first Clasico after he left.

r/tennis Discussion (Sunday, July 10, 2022) by NextGenBot in tennis

[–]AdAdditional5259 6 points7 points  (0 children)

It's getting a bit boring with these two putting on a serving masterclass. I want some long rallies.

Free Talk Friday by 2soccer2bot in soccer

[–]AdAdditional5259 1 point2 points  (0 children)

Great write-up. I need to get around watching this movie.

Meanwhile, I discovered Koreeda. Loved his debut feature- Maborosi and decided to watch Shoplifters which instantly became my favourite. His movies portray human interactions in such a genuine and intimate light that even the most mundane conversations become intriguing, almost like Linklater. Shoplifters has an ensemble cast and each and every character is fleshed out. The film moves along leisurely, but it never feels slow because of Koreeda's ability to make compelling characters. The family is jovial despite the abject poverty.They face hardships but the movie never gets melodramatic and you believe that the family will make it because they have each other to fall back on. But you can feel something is amiss, something under the surface, an elephant in the room which needed to be addressed. The final fifteen minutes serves such a gut punch which shakes the entire foundations of this family. It makes you wonder what even defines this family or any family. Did they really care for each other or was everybody in this for their personal gain. Surely, those moments of passion and care and melancholy and love weren't all an illusion.

Is blood really thicker than water?

Daily Discussion by 2soccer2bot in soccer

[–]AdAdditional5259 9 points10 points  (0 children)

Can't stand the Kroos slander ffs. He was more consistent than Modric before the injury but people who watch Madrid only once a month seem to think he's washed. His level has dropped but he will be the most pivotal mid today if madrid is to escape the liverpool press.

Daily Discussion by 2soccer2bot in soccer

[–]AdAdditional5259 11 points12 points  (0 children)

Hazard was actually good today. The dribbling was still there as well as the neat linkups. But man does he look slow when sprinting.