Developer Database Oracle Interview Questions

710,893 developer database oracle interview questions shared by candidates

You are given an array of integers, a1, that have sequential integers 1 through n. ( { 1,2,3,4,5 } or { 1,2,3 } or any other array) You are also given an array of integers, a2, that also have numbers 1 through n, but are not in sequential order and are missing one of the numbers between 1 and n. Find the missing number in a2. Did you check for special cases? Can you do this in O(n) runtime?
avatar

Software Developer Intern

Interviewed at Redfin

3.5
Feb 19, 2016

You are given an array of integers, a1, that have sequential integers 1 through n. ( { 1,2,3,4,5 } or { 1,2,3 } or any other array) You are also given an array of integers, a2, that also have numbers 1 through n, but are not in sequential order and are missing one of the numbers between 1 and n. Find the missing number in a2. Did you check for special cases? Can you do this in O(n) runtime?

You are given a number n, you have to find all prime numbers from 1 upto n and print them (or save them in an array). A varriation is (which changes the answer) is you are given two numbers m and n and you are to find all prime numbers between them.
avatar

Software Engineer

Interviewed at Arbisoft

4.1
Jul 4, 2012

You are given a number n, you have to find all prime numbers from 1 upto n and print them (or save them in an array). A varriation is (which changes the answer) is you are given two numbers m and n and you are to find all prime numbers between them.

Viewing 861 - 870 interview questions

Glassdoor has 710,893 interview questions and reports from Developer database oracle interviews. Prepare for your interview. Get hired. Love your job.