#dsainjava
Read more stories on Hashnode
Articles with this tag
Linear and Binary Search ยท When you need to find a particular value in an array you apply searching algorithms. There are two search algorithms for an...
Q21. Check if the given array is a subset of another array. A21. To check this we transfer the elements of the array to a set, hence removing...
Q17. Given 3 arrays sorted in increasing order. Find the common elements in all 3 arrays. A17. In this question, we will use a 3 pointer...
Now we will understand the different types of questions on Arrays. Q1. Write a program to reverse an array. A1. There are two ways to approach this...