On clicking a node in a tree, all the adjacent edges are turned on. Calculate min of clicks such that all the edges are turned on.
968You are given a singly linked list. How would you find out if it contains a loop or not without using temporary space?
TCS,
1101Given an array of integers, devise a program to replace every element with the next greatest element on the right side in the array. Also, replace the last element with 5 as there no element on the right side of it.
1071Post New Data Structures Questions
What is data structure and its operations?
How do you access the values within an array?
What is the Difference between sax and dom parser?
Which is the parent class of abstractsequentiallist class?
Which is the slowest sorting algorithm?
What is numeric array?
What is stack algorithm?
What is a matrix? Explain its uses with an example
What is the difference between set and unordered_set?
Can we use ordered set for performing binary search?
What does enum do?
Write program for Bubble Sort ?
Does treeset allow duplicates?
How to reverse a singly linked list?
How does bogo sort work?