Telephonic Interview:
You will have 40 min for 2 question.
- https://leetcode.com/problems/product-of-array-except-self/
- https://leetcode.com/problems/strobogrammatic-number-ii/
Onsite Interview
DS Algo Round:
- https://leetcode.com/problems/first-missing-positive/
- variation of https://leetcode.com/problems/nested-list-weight-sum/
e.g. Input = [[2,1],6,[1,[4,3]]], output = 2*(2+1) + 1* 6+2*(1+3*(4+3)) = 56
My code
public int depthSum(List<NestedInteger> nestedList) {
return depthSum(nestedList, 1);
}
private int depthSum(List<NestedInteger> nestedList, int level) {
int sum = 0;
for (NestedInteger ni : nestedList) {
if (ni.isInteger()) {
sum += ni.getInteger();
} else {
sum += depthSum(ni.getList(), level+1);
}
}
return sum*level;
}Android Architecture Round
Design a Image chatting Adnroid App: You have design a chat app,
- where user can send and receive only images.
- We can make an assumption theat all required API's are already available.
- Focus toward User data caching.
- Offline handling.
- There should not be any data loss, in case of no internet connection.
- Which Architecture to follow.
- How Image of different sizes will be handled based on Device resolution.
- Local Database design for Chat population.
- Single source of truth.
- etc.
DS Algo round
- https://leetcode.com/problems/regular-expression-matching/
- https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses/
Career conversation
- Strength, Weakness
- Conflicts with team and Manager, How did you resolved the same.
- Ever got a constructive feedback
- There were couple of other questions related to career conversation.
Result: Reject(Negative in Career conversation round).
Comments (2)


