Difficulty distribution
How the classified questions are distributed by difficulty.
Your cart is empty.
Practice Searching, Sorting and Hashing - Algorithms - Computer Science & Information Technology previous year questions organised from real papers, with year-wise coverage and clear topic navigation.
Every graph below is calculated only from this selection.
Year-wise coverage for Searching, Sorting and Hashing. Each bar uses a separate theme-derived color.
How the classified questions are distributed by difficulty.
MCQ, numerical, multiple-select and other formats found in these papers.
Top subjects by unique question coverage.
Top topics across the included previous year papers.
Top subtopics inside this exact selection.
Question coverage for the most populated papers. Every active PYP paper remains listed below.
Newest papers appear first. Sort by year, question coverage or name.
| Paper | Year / session | Questions in this view | Open |
|---|---|---|---|
| Computer Science and Information Technology (CS) 2026 | 2026 | 1 | View paper |
| Computer Science & Information Technology (CS) 2025 [Session 1] | 2025 | 1 | View paper |
| Computer Science & Information Technology (CS) 2025 [Session 2] | 2025 | 2 | View paper |
| Computer Science & Information Technology (CS) 2023 [Session 2] | 2023 | 1 | View paper |
| Computer Science & Information Technology (CS) 2022 [Session 2] | 2022 | 1 | View paper |
| Computer Science & Information Technology (CS) 2021 [Session 1] | 2021 | 1 | View paper |
| Computer Science & Information Technology (CS) 2021 [Session 2] | 2021 | 1 | View paper |
| Computer Science & Information Technology (CS) 2020 [Session 2] | 2020 | 2 | View paper |
| Computer Science & Information Technology (CS) 2019 [Session 2] | 2019 | 2 | View paper |
| Computer Science & Information Technology (CS) 2014 [Session 1] | 2014 | 2 | View paper |
| Computer Science & Information Technology (CS) 2014 [Session 3] | 2014 | 2 | View paper |
| Computer Science & Information Technology (CS) 2013 [Session 1] | 2013 | 1 | View paper |
| Computer Science & Information Technology (CS) 2013 [Session 3] | 2013 | 2 | View paper |
| Computer Science & Information Technology (CS) 2013 [Session 4] | 2013 | 1 | View paper |
Practice every matching question in batches of 20, with every available option.
Which one of the following is the tightest upper bound that represents the number of swaps required to sort n numbers using selection sort?
There are n unsorted arrays: A1, A2, ..., An. Assume that n is odd. Each of A1, A2, ..., An contains n distinct elements. There are no common elements between any two arrays. The worst-case time complexity of computing the median of the medians of A1, A2, ..., An is

Suppose we are given n keys, m hash table slots, and two simple uniform hash functions h1 and h2. Further suppose our hashing scheme uses h1 for the odd keys and h2 for the even keys. What is the expected number of keys in a slot?