Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions

111 / 410

Write a program to convert Binary tree to its Mirror Tree.
OR
convert Binary tree to Symmetric Tree (i.e Mirror Image of itself).

Input : NA

Output : NA

|  Basics | | | |  Experience

Tags:Amazon

112 / 410

Write a Program to print a binary tree in Zig Zag way.
OR
Print the Binary Tree in Zig Zag Level-Order.
Input:
.................(25)
......... (4)...........(10)
.....(2)......(8)...(12)......(7)

OutPut: 25,10, 4, 2, 8, 12, 7

Input : NA

Output : NA

|  Basics | | | |  Experience

Tags:Amazon

113 / 410

Write A program to find the sum of two numbers equel to 'n' or not in given vector.

Input : NA

Output : NA

|  Basics | | | |  Experience

Tags:Amazon

114 / 410

Which languages do you use for competitive programming and for development?

Input : NA

Output : NA

|  Basics | | | |  Experience

Tags:Amdocs

115 / 410

Write a program to print the positions of bit set in a given number.

Input : NA

Output : NA

|  Basics | | | |  Experience

116 / 410

Write a program to delete a node in linklist, i.e node might be in last/first/middle.

Input : NA

Output : NA

|  Basics | | | |  Experience

117 / 410

Write a program to print the Linklist element in reverse order by recursion.

Input : NA

Output : NA

|  Basics | | | |  Experience

118 / 410

Write a program to insert a node in a single linklist, (node insertion in head/middle/last)

Input : NA

Output : NA

|  Basics | | | |  Experience

119 / 410

Can you write a program to show stack is growing.

Input : NA

Output : NA

|  Basics | | | |  Experience

120 / 410

Write a program a mirror copy of a BST.

Input : NA

Output : NA

|  Basics | | | |  Experience

+ Contribute Programming Qs.

Baig
1