count the number of duplicates in a binary tree in O(n) time O(1) space.
Junior Software Developer Interview Questions
11,432 junior software developer interview questions shared by candidates
abstract Class vs Interface
This question was asked in Round 2 of the process.. Given an unsorted array..find the Nth largest number in a single pass without modifying the array...
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.
Some questions about Java basics, and some math problems and SQL
What about the company interested you to apply
Write a.SQL.query for selecting the second top most salary of an employee from employee table.
There was no human interaction, just the coding test.
2nd Round – Technical (Written): • 10 SQL questions, mainly on joins and foreign keys. • Programming Logic Questions. o From the given string find the first repeated character. o Find the sum of digits in a number. (Eg. 24 -> 2+4=6) o Draw the pattern, where the value of ‘n’ will be taken from the user, for n=4 Pattern will be 1 2 3 4 5 6 7 8 9 10 o Draw the pattern, where the value of ‘n’ will be taken from the user, for n=4 Pattern will be * * * * * * * * * *
You have 2 arrays with characters. the \b char represents deleting a letter. you need to return if the words that the arrays represent are equals. example: [a , a , \b , b , c] [a , b , c] True because the word in both array is : abc
Viewing 11 - 20 interview questions