Tag: Array Data Structure

Find Triplet in Array that sum to a Given Value

In today’s post, I will be discussing an interview question related to arrays. This is similar to my previous post, in which I discussed how to find a pair with a given sum in an array. Suppose you are given an array. [1,9,7,6,3,5,2,8] And you are given a targetSum = 10. You have to find…
Read more


September 3, 2018 0

Find If Pair in An Array Exists That Sum to a Specific Value

In today’s post, I will be discussing an actual interview question related to arrays. Suppose, you are given an array like this: [2, 9, 5, 6, 3, 8, 2] and you have to find out if a pair exists in the array such that their sum equals 9. As a candidate, you need to understand…
Read more


August 17, 2018 0

Array Data Structure For Cracking Technical Interviews

In today’s blog post, i am discussing the basics of array data structure for cracking technical interviews. Array Data Structure An array is a collection of items stored in contiguous memory locations. All the items stored in an array are usually of same data type. Arrays are the oldest and most important data structure and…
Read more


August 7, 2018 0