The interview round was of 1 hour and was the 1st interview round of the three part series
Introduction
- Started of introduction
- The interviewer asked me to walk through the architecture at my current org
Two DSA problems:
- You are given a large integer represented as an integer array digits, where each digits[i] is the ith digit of the integer. The digits are ordered from most significant to least significant in left-to-right order. The large integer does not contain any leading 0's.
Increment the large integer by one and return the resulting array of digits
- You are given a positive integer n, you can do the following operation any number of times: Add or subtract a power of 2 from n.
Return the minimum number of operations to make n equal to 0
I was made to code on google doc for both problems.
Java Trivia questions
- Stream vs Traditional for-loop
- Finally vs try-with-resources
- Method references vs lambda expressions along with syntax
The interviewer was very respectful, helpful and polite
Result: Rejected. so I didn't get to give remaining two rounds