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.
973You are given a singly linked list. How would you find out if it contains a loop or not without using temporary space?
TCS,
1110Given 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.
1076Post New Data Structures Questions
Explain the uses of b+ tree.
How can I learn data structures?
What are the four characteristics of algorithms?
What is the application of queue?
How to print element of Array?
Define an algorithm.
What is the best case complexity of quicksort?
How to sequentially represent max-heap?
What is complexity algorithm?
What is sequential sorting?
Define a priority queue?
What is Jagged Arrays?
List the data structures which are used in rdbms, network data modal, and hierarchical data model.
How many sorting algorithms are there?
How would you use bsearch() function to search a name stored in array of pointers to string?