Given an array of integers, determine how many sequences there are of numbers that increase to a point then decrease, with at least two on each side of the max value (example: 1, 4, 5, 3, 1)
Intern Software Interview Questions
17,756 intern software interview questions shared by candidates
How could you make the line TRACE(); placed at the top of a function print out something when the function begins and when the function exits.
Average of a binary tree node values
How would you represent a deck of Cards as a data structure and shuffle them if you are given a rand function
The technical question that I was given had to do with implementing a function to find the arithmetic mean of all the elements in any arbitrary binary tree data structure. With where I am in my coding experience, this question was definitely more difficult than I was expecting.
Was asked to write a program to print 3 for all numbers less than 100 divisible by 3, 5 for all numbers less than 100 divisible by 5 and 3 and 5 for all numbers less than 100 divisible by both 3 and 5.
Given two sorted arrays and a number k, find the kth largest number in the union of the two arrays. Do it in place and in O(log n)
Find whether a string is a palindrome.
Find if there is a loop in a link list
Not really difficult or unexpected, but: Write a function that shuffles a deck of cards.
Viewing 921 - 930 interview questions