Given a list of integers, some of which may be negative, extract the pair that sums to the largest number.
Software Engineer 2 Interview Questions
419,820 software engineer 2 interview questions shared by candidates
Swap two digits from an integer, the result should be the maximum. For example 3580 -> 8350
Given the following struct how much memory is require to store it in a 32-bit and 64-bit system? struct A { char t; char *t; }
Design patterns that would be used in a card game. Not objects and classes but design patterns.
Give an array that has only the values 1, 2 or 3, sort the array in place.
Puzzle question: A Floating ship contains 1 stone , If I drop that stone in sea,,What will happen with water level??? Is it increase or decrease n why??
Given an array of numbers, replace each number with the product of all the numbers in the array except the number itself *without* using division.
given the output from the first question write a algorithm to calculate how many possible inputs could have created that output. for example. "1211" could be interpreted as one two and one one || one hundred and twenty one ones.
Given a binary tree with the usual left and right pointers on each node, and additionally a parent pointer, make an algorithm to discover the closest ancestor to 2 nodes on the tree.
Implement a function to compute cubic root what is the time complexity?
Viewing 231 - 240 interview questions