How would you implement a fair randomized shuffling algorithm?
Software Engineer Intern Interview Questions
12,192 software engineer intern interview questions shared by candidates
4. what do you think about rapleaf
Nothing was too difficult. The coding question was just to find, within a list of integers, the longest sequence of consecutively increasing numbers.
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)
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.
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.
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 if there is a loop in a link list
Not really difficult or unexpected, but: Write a function that shuffles a deck of cards.
why this position suits you
Viewing 701 - 710 interview questions