top of page
Search
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.
Pretty Json - InterviewBit Solution
Given a string A representing JSON object. Return an array of the string denoting JSON object with proper indentation.
Minimum Appends for Palindrome! - InterviewBit Solution
Given a string A consisting of lowercase characters.
We need to tell minimum characters to be appended (insertion at end) to make the strin
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
Add Binary Strings InterviewBit Solution
Given two binary strings, return their sum (also a binary string). Example: a = "100" -> 4 in decimal
b = "11" -> 3 in decimal
Return a +
Roman To Integer InterviewBit Solution
Given a string A representing a roman numeral.
Convert A into an integer. A is guaranteed to be within the range from 1 to 3999.
Integer To Roman InterviewBit Solution
Given an integer A, convert it to a roman numeral, and return a string corresponding to its roman numeral version.
Reverse the String InterviewBit Solution
Given a string A.
Return the string A after reversing the string word by word.
Implement StrStr Interviewbit Solution
Implement strStr().
strstr - locate a substring ( needle ) in a string ( haystack ).
Try not to use standard library string functions for
bottom of page