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.
Engineer Interview Questions
935,577 engineer interview questions shared by candidates
monkey climbs 3m and slides 2m daily. How many days it would take to reach 30m
A programming question ? Related to excel spread sheet. The question goes this way. columns will go infinitely : A , B.......................Z,AA,AB............AZ,AAA................ZZZZ so interviewer wanted me to choose a programming language of choice and pass the column name and print corresponding column number. A - 1 B- 2 Z - 26 AA - 27 1 + 26 AZA - 1 + 26 + 26 +
There were no questions asked that surprised me. They asked if I were willing to work on Saturdays.
Where do you see yourself in 5 years
if (5<6<2) { console.log(true); }
Remove duplicated char within a String
What are the three main components of object orientated programming
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 2201 - 2210 interview questions