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.
1019You are given a singly linked list. How would you find out if it contains a loop or not without using temporary space?
TCS,
1169Given 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.
1127Post New Data Structures Questions
What is the use of tree data structure?
What is fibonacci search?
Write the algorithm for converting infix expression to postfix expression?
What is bubble sort algorithm in data structure sort and searching?
What are the Differences between map and hashmap?
Who created quicksort?
What are the types of bulleted list?
Is arraylist a class?
How to get the index of an array element?
What is sorting and classifying?
Are linked lists considered linear or non-linear data structures?
What is difference between static and dynamic array?
What is a matrix?
What is the best case for bubble sort?
What are data members?