Questions:
First: https://leetcode.com/problems/top-k-frequent-elements/
Second (variant of): https://leetcode.com/problems/count-square-sum-triples/
Review:
Overall, the questions were everything I expected.
I quickly answered the first question, but my interviewer told me that I had done the question wrong (in a nice way), so I adjusted my approach to match what the interviewer said. After the interview, I reviewed the question and my interviewer's suggestions were incorrect. (Potentially, this was due to me using Go which my interviewer self-admittedly wasn't used to.)
I struggled through the second question because I missed that you could sort after creating square of every number.
I expected to be rejected. Somehow my feedback was actually okay.
I did solve both questions optimally within the time given.
My best advice is, remember that LeetCode is not the only part of the interview: be nice, be conversational, make your interviewer laugh, etc. Had my interviewer disliked me or had a negative attitude towards me for any reason, I definitely get rejected.
I do interviews for a FAANG-adjacent company and can say, candidates fail frequently who solve the questions optimally, and fast, but don't communicate or have a personality during the interview.