Write a function to connect all the adjacent nodes at the same level in a binary tree. Example: Input Tree A / \ B C… Read More
Tag Archives: Xome
Given a sorted array arr[] of size N, the task is to remove the duplicate elements from the array. Examples: Input: arr[] = {2, 2,… Read More
Long Coding ( 2 hours) Designing a traffic mgmt system. You were assigned a person from the company who would aid you with any doubts… Read More
Round-1:(1:15 min) Basic questions on runtime polymorphism and static polymorphism Multiple inheritance in java how can we implement using interfaces. Connect all the nodes that… Read More
Write a function to connect all the adjacent nodes at the same level in a binary tree. The structure of the given Binary Tree node… Read More
Given a Binary Tree, The task is to connect all the adjacent nodes at the same level starting from the left-most node of that level,… Read More