CACS201 Data Structures And Algorithms

Data Structures And Algorithms: most repeated questions

Questions that have come up in more than one paper, matched by what they ask rather than exact wording. Most repeated first.

  1. 4×Asked in 2024, 2020, 2019
    What is an AVL tree? Create an AVL tree from the following data: 18, 12, 14, 8, 5, 25, 31, 24, 27Answer coming5
    See the wording in each paper
  2. 3×Asked in 2025, 2022, 2021
    What is hashing? Explain different types of collision resolution techniques with suitable example.Answer coming5
    See the wording in each paper
  3. 2×Asked in 2025, 2019
    Define linear and circular queue. Write are the limitation of linear queue? How circular queue can used to overcome the limitation of linear queue.Answer coming5
    See the wording in each paper
  4. 2×Asked in 2022, 2020
    Define divide and conquer algorithm. What is binary search? Write an algorithm to search an item using binary search with suitable illustration.Answer coming5
    See the wording in each paper
  5. 2×Asked in 2025, 2022
    Describe types of linked list. Write an algorithm to perform following operation in circular linked list: • Insert node at the beginning of circular linked list. • Insert node at the end of circular linked list. • Delete node from the beginning of circular…Answer coming10
    See the wording in each paper
  6. 2×Asked in 2020, 2019
    What is double linked list? How does it differ from circular linked list? Write an algorithm or function to add a node at the beginning and end of double linked list.Answer coming10
    See the wording in each paper
  7. 2×Asked in 2025, 2023
    What is recursion? Write an algorithm to solve Tower of Hanoi problem.Answer coming5
    See the wording in each paper
  8. 2×Asked in 2022, 2019
    What is stack? List the application of the stack. Write an algorithm to perform PUSH and POP operation in stack. Describe linked list implementation of stack operations.Answer coming10
    See the wording in each paper