HR call, introduction call, "tell me about yourself".
Then we placed a technical interview with the team leader and a developer.
At the technical interview only one person appeared (is this following your policies?)
1. The interviewer asked me to show him a design I did in my previous work, showed some cool design involving lambda functions, SQS, DB, authorizatio. no many questions was about this design (maybe he wasn't familiar with anything on this design?), so we continued to direct questions.
The interviewer said let's make some "warm up" on the following 2 questions.
2. The interviewer asked about creating a class of "Point"
then implement the distance between them.
"Lucky me" last math course in my Bsc was 5 years ago, so I forgot the formula, so with a bit of the interviewer help I accomplished it, and then asked if there's a case of "negative numbers" I answered NO because each number squared is positive.
3. Next question was swap 2 numbers without additional variable, took me 3-5 minutes (not something I usually do + the stress of the interview) but I accomplished it.
4. Implement a Data Structure "SET" that keeps the order of the numbers, insert in O(1), delete O(1), random Access O(1).
I have implemented it with a list that with hold the numbers, and dictionary that follows each number and the index it was assigned to (then I can delete in O(1), and check if number exists in our "SET" in O(1)).
5. The interviewer sent me on the chat a piece of code an "Extension" for Ienumerable "numbers.SumThis(x => x % 2 == 0);" and I need to implement it, in order to make it compile and work.
just create an Ienumerable extension for this receiving a Func and invoke it inside your implementation.
6. Was asked if I have some DB open, I opened my DynamoDB and was asked to make a query on the data we saw in a particular table but in "MongoDB syntax" He said I can use whatever I want, I used chatGPT for it and the interviewer was happy with the result and I got a feedback from him "that's exactly what I would expect from my worker".
So far so good.
So tell me, how do you as a company reject a candidate based on what? on a "distance between points" question? as was considered as "warmup" question by the interviewer? because as I was there and answered those questions that's the only thing was not a "smooth" answer.