#dsa
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...
Moving on to some more interview questions from Arrays: Q6. Find the Union and Intersection of two arrays. A6. There are two approaches to this...
Introduction In simple terms, Data Structures are ways to arrange data in the computer memory so that it can be used efficiently. Whereas, Algorithms...