Write a program to count number of occurence of the character in the provided string. Hello h-1 e-1 l-2 o-1
Software Engineers Interview Questions
420,122 software engineers interview questions shared by candidates
1.Intersection of two array. 2.max two numbers addition in array. 3.first non repeating charector in string 4.josephas number
How to obtain the sum of the elements from (0,0) to (r,c) in a 2D array, where r and c are the row and column numbers
In a typical database query, how would you speed up an sql query that consisted of many conditions ANDED (&&) together?
Given a singly linked list, how can you find if there is a loop in the list?
In the coding test I was asked to implement Wrap Text algorithm. Given a long string and a line width, modify the string to put new line so that a line has at most line width amount of character and no line break is given in the middle of a word. I was not allowed to use split function.
if (5<6<2) { console.log(true); }
Remove duplicated char within a String
Given a 2d array of zeros, there may be a rectangle (block) of 1s. Return the top left coordinates of the rectangle. ie. [[0,0,1],[0,0,1],[0,0,1]] returns (2,2) The second question was how to solve it if you had to find many rectangles.
Q: How can you tell if a Linked List is a Palindrome?
Viewing 1331 - 1340 interview questions