Given an array, return the nth largest.
Software Engineers Interview Questions
419,267 software engineers interview questions shared by candidates
I was given two lists of integers and number. The question is to write a function which returns true if the are two numbers in the array such that their sum in the number given.
Write a function to find a substring in a string. Test your code, write the test cases.
In my interview the most challenging question was: How to get the 3rd element in a singly linked list, if you you the last one.
Flip a bit in a uint32 using C.
You have an array of numbers. For example: [-5, 1, 7, -3, 4] Find the pair with the greatest product.In the example above, it would be 28(7x4).
Write function to calculate sum of first N powers of 2 starting from 1. You shouldn't use any built-in function for calculating power. Implement the most efficient solution.
Given a value and an array of integers, find if there are two integers in the array that add up to the value.
Write a function atoi in C, which takes a String as input, such as "123", and outputs an int, in this case 123.
How would you reverse a linked list in Java?
Viewing 1181 - 1190 interview questions