get the second most highest integer from an array
Intern Interviews
Intern Interview Questions
An intern works in a professional environment to gain practical, meaningful, and work-related experience in their chosen field or career. Interns are trainees who sign up to work for an organization for a short period of time to gain experience. Interns may be unpaid, partially paid, or paid.
Top Intern Interview Questions & How To Answer
Question #1: Can you tell me about a time you failed something, either in school or at a job?
Question #2: How did you land in this particular field?
Question #3: What do you hope to gain from this experience?
248,144 intern interview questions shared by candidates
Say you have a single-column table of entries of variable size. Implement this table to also contain methods to lengthen one cell, cut a cell shorter, and to return which cell we're pointing at if given a certain distance from the beginning of the table. All methods need to be fast (assume a single-column table with many many entries).
Write a power function power(a , b) returns a^b
Given two sorted arrays. Write a method that returns the intersection of the arrays. Ex. [2,4,3,6] and [8,9,2,4] would return [2,4].
Given a TV remote, write a script that would give directions to input some letters. Starting from the upper left-hand corner. If the buttons were in 3 columns, and you wanted to type "feed", you would want the output of the program to say "right, right, down, PRESS, left, PRESS, PRESS, left, PRESS"
Given a list of 4 billion integers, find an integer not in the list using 4MB of memory.
Generate a new array from an array of numbers. Start from the beginning. Put the number of some number first, and then that number. For example, from array 1, 1, 2, 3, 3, 1 You should get 2, 1, 1, 2, 2, 3, 1, 1 Write a program to solve this problem.
If you could travel anywhere in the world where and why?
why this position
How would you implement a stack with the additional operation of getMin?
Viewing 81 - 90 interview questions