Write a routine to determine if a linked list has a cycle.
Software Engineer Senior Interview Questions
419,479 software engineer senior interview questions shared by candidates
You have a box of red balls, a box of blue balls, and a box of red and blue balls. What is the minimum number of boxes you can open and know what is the contents of each box?
Reverse an integer. Looking for optimized solution and definitely no tostring type of solution
1. Reverse string except spaces. A string has mix of alphabets and spaces. Your task is to reverse the string, but preserve the positions of spaces. For example, reverse of " a if" is " f ia" 2. An array of size n has all but one numbers between 1 and n+1. Find the missing one.
Write a function to find the maximum sum of sub array where the array can have negative and positive numbers.
In a BST write a program to find 2 nodes x and y such that X+y=k
find duplicated item from an array, output the duplicated item with their times
what was a technical difficulty and how have you overcome it.
Find the character with longest repitition in the string e.g. aaacccddddeefffffffg the result should be 'f'.
Print a binary tree level by level in zigzag order
Viewing 871 - 880 interview questions