## Amazon Interview Experience | Set 355 (For 1 Year Experienced)

I recently got an interview call from Amazon (Chennai) for the Kindle team. Here is my experience:- Round 1 – It was written round (Pen… Read More »

## Creating a tree with Left-Child Right-Sibling Representation

Left-Child Right-Sibling Representation is a different representation of an n-ary tree where instead of holding a reference to each and every child node, a node… Read More »

## Check whether a given binary tree is perfect or not

Given a Binary Tree, write a function to check whether the given Binary Tree is a prefect Binary Tree or not. A Binary tree is… Read More »

## Level order traversal line by line | Set 2 (Using Two Queues)

Given a Binary Tree, print the nodes level wise, each level on a new line. Output: 1 2 3 4 5 Recommended: Please solve it… Read More »

## Check for Symmetric Binary Tree (Iterative Approach)

Given a binary tree, check whether it is a mirror of itself without recursion. Examples: Input : 1 / \ 2 2 / \ /… Read More »

## Convert a given Binary tree to a tree that holds Logical AND property

Given a Binary Tree (Every node has at most 2 children) where each node has value either 0 or 1. Convert a given Binary tree… Read More »

## MakeMyTrip Interview Experience | Set 14 (For Senior Android developer)

Senior Android developer(4-8 years) Qualification & Experience- · 4-8 years of experience in software development · Experience in Mobile App development in Android is a… Read More »

## Convert Ternary Expression to a Binary Tree

Given a string that contains ternary expressions. The expressions may be nested, task is convert the given ternary expression to a binary Tree. Examples: Input… Read More »

## Create loops of even and odd values in a binary tree

Given a binary tree with the node structure containing a data part, left and right pointers and an arbitrary pointer(abtr). The node’s value can be… Read More »

## Vmware Interview Experience | Set 9 (Internship (R&D))

Vmware conducted their online exam via hirepro. Round 1 : There were 3 sections quants, Technical questions and OOPs based questions, no section had negative… Read More »

## Left-Child Right-Sibling Representation of Tree

An n-ary tree in computer science is a collection of nodes normally represented hierarchically in the following fashion. The tree starts at the root node.… Read More »

## Amazon Interview Experience | Set 349 (For SDE I)

Telephonic Round: Given a 2D matrix with elements 1 and 0, where 1 is land and 0 is water. Find the number of islands. Design… Read More »

## Largest BST in a Binary Tree | Set 2

Given a Binary Tree, write a function that returns the size of the largest subtree which is also a Binary Search Tree (BST). If the… Read More »

## Count full nodes in a Binary tree (Iterative and Recursive)

Given A binary Tree, how do you count all the full nodes (Nodes which have both children as not NULL) without using recursion and with… Read More »

## Find distance from root to given node in a binary tree

Given root of a binary tree and a key x in it, find distance of the given key from root. Dis­tance means num­ber of edges… Read More »