## Data Structures | Binary Trees | Question 1

Which of the following is a true about Binary Trees (A) Every binary tree is either complete or full. (B) Every complete binary tree is… Read More »

- Sum of all Palindrome Numbers present in a Linked list
- Program to print all the non-reachable nodes | Using BFS
- Binary Search Tree | Set 3 (Iterative Delete)
- Encryption and Decryption of String according to given technique
- C program to implement Adjacency Matrix of a given Graph
- Program to delete all even nodes from a Singly Linked List
- Count of triplets in an Array (i, j, k) such that i < j < k and a[k] < a[i] < a[j]
- Minimum cost to merge numbers from 1 to N
- Program to create Custom Vector Class in C++
- Count of root to leaf paths in a Binary Tree that form an AP
- Sideways traversal of a Complete Binary Tree
- Maximum of XOR of first and second maximum of all subarrays
- Shortest path in a complement graph
- Find all Factors of Large Perfect Square Natural Number in O(sqrt(sqrt(N))
- Sum of all perfect numbers present in an Linked list
- Print the nodes having exactly one child in a Binary tree
- Count of strings possible by replacing two consecutive same character with new character
- Print sublist of a given Linked List specified by given indices
- Check if alternate path exists from U to V with smaller individual weight in a given Graph
- Comparison between Lists and Array in Python
- Count of elements on the left which are divisible by current element | Set 2

Which of the following is a true about Binary Trees (A) Every binary tree is either complete or full. (B) Every complete binary tree is… Read More »

Which one of the following is an application of Queue Data Structure? (A) When a resource is shared among multiple consumers. (B) When data is… Read More »

Consider the following function that takes reference to head of a Doubly Linked List as parameter. Assume that a node of doubly linked list has… Read More »

Which of the following points is/are true about Linked List data structure when it is compared with array (A) Arrays have better cache locality that… Read More »

Which one of the following is an application of Stack Data Structure? (A) Managing function calls (B) The stock span problem (C) Arithmetic expression evaluation… Read More »

Following is C like pseudo code of a function that takes a Queue as an argument, and uses a stack S to do processing. filter_none… Read More »

Following is C like pseudo code of a function that takes a number as an argument, and uses a stack S to do processing. filter_none… Read More »

What does the following function do for a given Linked List with first node as head? void fun1(struct node* head) { if(head == NULL) return;… Read More »