Got a call for technical phone interview based on a referral. I don't see a point of answering/posting the coding question. You have to be really a good coder to hear back from them.
Write a code to find the maximum and minimum number in an array. Now can you improve the code to use minimum number of comparison operaton. Less than n was the objective.
Interview questions [1]
Question 1
Getting maximum and minimun number was not difficult but getting less than n comparison was tricky.
The technical round hit me with a classic array manipulation problem: moving zeroes to the end without disrupting the order of non-zero elements. As I tackled it, I felt a wave of familiarity wash over me; I had just practiced a similar challenge on PracHub. The rest of the interview followed a straightforward path, with some easy behavioral questions sprinkled in. Overall, it felt very easy, but I wasn’t quite the right fit for what they needed, so I didn’t receive an offer.
Interview questions [1]
Question 1
Move zeroes in an array to the end while keeping non-zero element order, in place
1 leetcode med, 1 leetcode hard. make sure you know your DSA and leetcode questions. I wasn't able to get an offer bc i didnt complete the second question. Got a reply 2 days later saying they would move on