3 Sum Zero - InterviewBit SolutionGiven 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
Minimum Parantheses! - InterviewBit SolutionGiven a string A of parantheses ‘(‘ or ‘)’. The task is to find minimum number of parentheses ‘(‘ or ‘)’ (at any positions) we must add to
Single Number II - InterviewBit SolutionGiven an array of integers, every element appears thrice except for one which occurs once. Find that element which does not appear thrice.
Different Bits Sum Pairwise - InterviewBit SolutionWe define f(X, Y) as number of different corresponding bits in binary representation of X and Y. For example, f(2, 7) = 2,
Multiply Strings - InterviewBit SolutionMultiply Strings in C++, without using libraries for this purpose.
Longest Common Prefix InterviewBit SolutionProblem Description: Given the array of strings A, you need to find the longest string S which is the prefix of ALL the strings in the arra
Median of Array InterviewBit SolutionThere are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays ( The median of the array formed