0% found this document useful (0 votes)
2 views2 pages

ADSA Array and Linked List Problems

The document contains a list of practice problems related to algorithms and data structures, including tasks for arrays, matrices, and linked lists. It covers various topics such as searching, sorting, and manipulating data structures. Each problem is presented as a 'WAP' (Write a Program) prompt, indicating practical coding exercises.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

ADSA Array and Linked List Problems

The document contains a list of practice problems related to algorithms and data structures, including tasks for arrays, matrices, and linked lists. It covers various topics such as searching, sorting, and manipulating data structures. Each problem is presented as a 'WAP' (Write a Program) prompt, indicating practical coding exercises.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

ADSA Practice Problems

1. WAP to find first highest element in array


2. WAP to find second highest element in array
3. WAP to set zeros at the end of array
4. WAP to remove duplicates from sorted array
5. WAP to remove duplicates from sorted array 2
6. WAP to find majority element.
7. WAP to find leaders in an array
8. WAP to apply linear search on array.
9. WAP for binary search.
10. WAP to find first occurrence of an element
11. WAP to find last occurrence of an element
12. WAP to find total occurrence of an element
13. WAP to find Peak element from array
14. WAP to search in rotated sorted array
15. WAP to find minimum in rotated sorted array
16. WAP to find Maximum in rotated sorted array
17. WAP to find how many times an array has been rotated
18. WAP to find sqrt of a number.
19. WAP to find kth missing element
20. WAP to find maximum product subarray
21. WAP to set matrix zero
22. WAP to rotate matrix by 90 degree
23. WAP to traverse spiral matrix
24. WAP to generate spiral matrix
25. WAP valid suduko leetcode problem
26. WAP to check valid Paranthesis
27. WAP to generate a prefix sum array
28. WAP to generate suffix sum aaray
29. WAP for range sum query – immutable
30. WAP to find pivot element
31. Codeforces problem 231/A
32. Codeforces problem 4/A
33. Codeforces problem 318/A
ADSA Practice Problems
34. Codeforces problem 50/A
35. WAP to create a linked list
36. WAP to traverse the linkedlist
37. WAP to insert at start of linkedList
38. WAP to insert at end of linkedList
39. WAP to insert at any position of linkedList
40. WAP to find middle of the linkedList
41. WAP to check LinkedList is circular or not
42. WAP to delete node of an LinkedList
43. WAP to find length of linkedList
44. WAP to add two number leetcode problem
45. WAP to add number in linkedList GFG problem
46. WAP to reverse a linkedList

You might also like