Java Assignment 2
- What do you mean by a Data structure?
- What are some of the applications of DS?
- What are the advantages of a Linked list over an array?
- Write the syntax in C to create a node in the singly linked list.
- What is the use of a doubly-linked list when compared to that of a singly linked list?
- What is the difference between an Array and Stack?
- What are the minimum number of Queues needed to implement the priority queue?
- What are the different types of traversal techniques in a tree?
- Why it is said that searching a node in a binary search tree is efficient than that of a simple binary tree?
- What are the applications of Graph DS?
- Can we apply Binary search algorithm to a sorted Linked list?
- When can you tell that a Memory Leak will occur?
- How will you check if a given Binary Tree is a Binary Search Tree or not?
- Which data structure is ideal to perform recursion operation and why?
- What are some of the most important applications of a Stack?
- Convert the below given expression to its equivalent Prefix And Postfix notations.
- Sorting a stack using a temporary stack
- Program to reverse a queue
- Program to reverse first k elements of a queue
- Program to return the nth node from the end in a linked list
- Reverse a linked list
- Replace each element of the array by its rank in the array
- Check if a given graph is a tree or not?
- Find out the Kth smallest element in an unsorted array
- How to find the shortest path between two vertices?