top of page
Search
Single Number - InterviewBit Solution
Given an array of integers A, every element appears twice except for one. Find that single one.
NOTE: Your algorithm should have a linear
XOR-ing the Subarrays! - InterviewBit Solution
Given an integer array A of size N.
You need to find the value obtained by XOR-ing the contiguous subarrays, followed by XOR-ing the values
Palindromic Binary Representation InterviewBit Solution
Given an integer A find the Ath number whose binary representation is a palindrome.
NOTE:
Consider the 1st number whose binary representat
Min XOR value - InterviewBit Solution
Given an integer array A of N integers, find the pair of integers in the array which have minimum XOR value. Report the minimum XOR value.
Different Bits Sum Pairwise - InterviewBit Solution
We define f(X, Y) as number of different corresponding bits in binary representation of X and Y. For example, f(2, 7) = 2,
Divide Integers InterviewBit Solution
Divide two integers without using multiplication, division and mod operator.
Return the floor of the result of the division.
Justified Text - InterviewBit Solution
Given a string A representing JSON object. Return an array of the string denoting JSON object with proper indentation. Rules for proper inde
Convert to Palindrome
Given a string A consisting only of lowercase characters, we need to check whether it is possible to make this string a palindrome after rem
Minimum Characters required to make a String Palindromic InterviewBit Solution
Given a string A. The only operation allowed is to insert characters at the beginning of the string.
Find how many minimum characters are ne
Stringoholics InterviewBit Solution
You are given an array A consisting of strings made up of the letters ‘a’ and ‘b’ only.
Each string goes through a number of operations, whe
bottom of page