top of page
Search
Counting Triangles - InterviewBit Solution
You are given an array of N non-negative integers, A0, A1 ,…, AN-1.Considering each array element Ai as the edge length of some line segment
3 Sum Zero - InterviewBit Solution
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0?
Find all unique triplets in the array which gives
3 Sum - InterviewBit Solution
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target.
Pair With Given Difference - InterviewBit Solution
Given a one-dimensional unsorted array A containing N integers.
You are also given an integer B, find if there exists a pair of elements in
bottom of page