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

# Basics Programs in JAVA

41 / 265

Can you write a program to implement memcpy. copy must be successful even source and destination address overlap.

Input : NA

Output : NA

|  Basics | | | |  Experience

42 / 265

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

43 / 265

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

44 / 265

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

45 / 265

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

Input : NA

Output : NA

|  Basics | | | |  Experience

Tags:Amdocs

46 / 265

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

Input : NA

Output : NA

|  Basics | | | |  Experience

47 / 265

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

Input : NA

Output : NA

|  Basics | | | |  Experience

48 / 265

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

Input : NA

Output : NA

|  Basics | | | |  Experience

49 / 265

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

Input : NA

Output : NA

|  Basics | | | |  Experience

50 / 265

Can you write a program to show stack is growing.

Input : NA

Output : NA

|  Basics | | | |  Experience

+ Contribute Programming Qs.

Baig
1