What sort would you use if you had a large data set on disk and a small amount of ram to work with?
Software Engineer 2 Interview Questions
665,112 software engineer 2 interview questions shared by candidates
Difficult to answer in short and first time attempt.
find a way to separate money into n parts. For example, if total money is 121, find a way to separate 121 into 4 closest parts and the solution would be an array with elements 30, 30, 30, 31
Not difficult. It is like why can not compare two strings. And how to compare one object which initialed as a string with string. The coding quesition is to find the kth in two sorted arrays.
Given a string input, create a function that will output a compressed version of the string. E.g. Input = "AAABBZZDDD", Output = "A3B2Z2D3"
Asked to write a function to determine if numbers were a power of X.
First Step includes Java proficiency test where candidate is required to do 2 tasks. First one involves coding for converting .dat file to .csv file. second includes debugging of the first assignment done by someone else and write an email addressing the issues. respond to client's complain about the implementation
Populate an array of numbers from 1 to N (inclusive). Given two numbers, p and q , if a number in the array is divisible by p print OUT, if a number is divisible by q print THINK. If number is divisible by both p and q, print OUTTHINK. Otherwise, print the number.
It takes 15 minutes to fill a tank from a tap and 40 minutes to enpty it from the sink . If both are open how long will it take to fill the tank . Capacity of tank is 400 gallons
Suppose there is a rectangular map where you can only travel up or right to go from a start location in the bottom left corner to the top right corner, and each move is discrete. Write a program that prints all possible solutions to get from the start to finish.
Viewing 681 - 690 interview questions