Round 1 -
Q1 - Find if a number is palindrome. Not allowed to use any string operations.
Q2 - For a given tree, find the sum of numbers formed by the node values. Eg
2
/ \
3 1
/ \ / \
4 1 2 5
Expected output - 234 + 231 + 212 + 215 = 892Cleared this round. Got an invite for the next round.
Round 2 -
Reverse a doubly linked list in groups of k, similar to this question.
https://leetcode.com/problems/reverse-nodes-in-k-group/
Could not solve this :(