if p1 and p2 are two consecutive prime number, in which cases (p1 + p2) / 2 is a prime number.
Software Developer Engineer Interview Questions
466,919 software developer engineer interview questions shared by candidates
Define Yourself
There are 4 people who want to cross a bridge. They each take 1, 2, 5 and 8 minutes. Only 2 people can cross at a time and they take as long as the slowest person. What is the fastest time you can get everyone across? Then I was asked to write the mathematical equation to determine the trade-off point between each of the 2 approaches to solving this.
Find the nth element in a linked list in constant time and space.
//input: [1,2,[3,4,[5,6],7,[8,[9]]],10] //output: [1,2,3,4,5,6,7,8,9,10]
write a program to print the given series (user need to enter the nth series number from keyboard) 2,3,5,11,23,29,41,53,83,89 .....
Given an array with all elements sorted on each individual row and column find the K-th smallest one
1) Recursively find all FASTQ files in a directory and report each file name and the percent of sequences in that file that are greater than .. 2) Given a FASTA file with DNA sequences, find 10 most frequent sequences and return the sequence and their counts in the file.0 nt long. 3) Given coordinates and a chromosome, write a program for looking up it's annotation. Keep in mind you'll be doing this annotation millions of times. And so on.
4 _?_ 4 _?_ 4 = 20 Put the proper operators to get the output.
Explain packet reassembly
Viewing 1161 - 1170 interview questions