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.
Software Engineers Interview Questions
420,052 software engineers interview questions shared by candidates
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?
Write a program that sees if two binary trees are equal.
Write a program that reverses the words in a sentence.
Find the longest subsequence in a given array of numbers in O(n)
Viewing 1171 - 1180 interview questions