Intern Interview Questions in Seattle, WA | Glassdoor
Intern Interview Questions in Seattle, WA

Intern Interview Questions in Seattle, WA

From retail to finance to medicine, every industry needs interns to provide additional support and assistance. Interview questions will vary greatly depending on the industry and role you are looking for. Expect to answer questions about how you work on teams and provide examples of any relevant work experience. To ace your interview, make sure to research the particular position you are applying for.

Top Interview Questions

Sort: RelevancePopular Date

Implement a power function to raise a double to an int power, including negative powers.

11 Answers

Could be implemented many ways. I got the feeling that the interviewer wanted to see you approach the problem in multiple ways and demonstrate confidence in your math and recursive skills.

#include #include #define MAX_ARRAY_LENGTH 256 double power(double, unsigned int); int main(int argc, char** argv) { double a = atof(argv[1]); int b = atoi(argv[2]); double result = power(a, b >> 31 == 0 ? b : -b); if ((unsigned int) b >> 31 == 1) { result = 1 / result; } printf("%f\n", result); return 0; } double power(double a, unsigned int b) { switch (b) { case 0: return 1.0; case 1: return a; default: return (b & 1) == 0 ? power(a * a, b >> 1) : power(a * a, b >> 1) * a; } }

c implementation of the above (no recursion): int ipow(int base, int exp){ int result = 1; while(exp){ if(exp & 1) { result *= exp; } exp >>= 1; base *= base; } return result; }

To find and return the common node of two linked lists merged into a 'Y' shape.

13 Answers

Determine if an array from 1..n has a duplicate in constant time and space.

12 Answers

You are given an array with n positive integers where all values in the array are repeated except for one. Return the one that is not repeated.

8 Answers

To return the 'm' smallest numbers from a file of 'n' numbers

8 Answers

Given the head pointers to two linked lists of unknown length, find the node of intersection if they do intersect.

5 Answers

Write a program to find the square root of a double.

5 Answers

Make a program that writes a Binary Search Tree to a file. Now create a program that reads those files and recreates a Binary Search Tree.

5 Answers

Write a program that sees if two binary trees are equal.

6 Answers

Write a function that takes in an array and repeats an integer that appears the most.

5 Answers
110 of 974 Interview Questions