How do cell phones work?
Computer Science Internship Interview Questions
478 computer science internship interview questions shared by candidates
The second question asks you to refactor a function in O(n^2) and make it O(n), basically by eliminating the nested for-loop. This is the function you're asked to refactor: int solution(int *A, int N) { int result = 0; int i, j; for (i = 0; i < N; i++) for (j = 0; j < N; j++) if (A[i] == A[j]) if (abs(i - j) > result) result = abs(i - j); return result; }
What is a compliment that your mother would say to you?
Design a system that does image processing on a server and interfaces with a mobile phone.
You are given a Binary Search Tree of ints with duplicate entries. You are guaranteed that if an element has a duplicate entry, it is in the right subtree of that element. Write a function to count the total number of duplicates. (note, if a tree contains the same element two times, the count of duplicates is 1, not 2)
All questions were from scripts, which ALL of the faculty committee read from.
How would u manage a person of more experience than you who is working under you?
How would you parallelise this data-processing task?
Describe a singleton?
Some obscure question about database stuff. It was a question about like a very specific shortcut you could use in some platform
Viewing 1 - 10 interview questions