To return the 'm' smallest numbers from a file of 'n' numbers
Software Interview Questions
550,133 software interview questions shared by candidates
Write a function that divides one number by another, without using the division operator, and make it better than O(n).
Given an array of sorted integers where duplicates are allowed, find the index of the first number I give you?
Implement a stack using two queues.
What is the main class in java?
In a binary integer value tree, find the lowest level common ancestor of two values.
The questions in the initial round were about the topics learnt in college about networking, cloud computing basics and some java programming question.
The written exam was of 1 hour and included the following questions: (1) Write a function that will receive a string as an input and will return the string in reverse order. (2) Write a function that will print the following series of numbers using only one loop: "1,2,3,4,5,6,7,8,9,10,9,8,7,6,5,4,3,2,1" (3) Write a function that will print all the multiples of 3 between 1-200 ( in reverse order ) There were other programming questions as well but of the same difficulty level. Along with the coding questions there were some analytical and QA questions as well. And for me the best part of this exam was there's no language specification. You can answer all the coding questions in whichever programming language you are comfortable with. So, after giving the exam I was impressed to know that they basically want to see how much problem solving skills do you have rather than evaluating you by the number of languages and frameworks you know.
Say you have a single-column table of entries of variable size. Implement this table to also contain methods to lengthen one cell, cut a cell shorter, and to return which cell we're pointing at if given a certain distance from the beginning of the table. All methods need to be fast (assume a single-column table with many many entries).
Write a power function power(a , b) returns a^b
Viewing 351 - 360 interview questions