there is a disk half painted white and the other half black. There are two sensors and the outputs of these sensors are the only signals available. How will you determine if the disk is rotating clockwise or anti-clockwise?
Intern Interview Questions
249,711 intern interview questions shared by candidates
remove all zeros of an array to the right
Find the length of a C-string, given a pointer to the first character.
Find the maximum subset sum in an array of numbers. Discuss complexity.
Design and implement an algorithm to determine if a binary tree is symmetric.
In linux, a folder consists of 10000 files and some files contain US phone numbers. What would you do to display the names of files containing US phone numbers?
Questions about hashtables, graph search, and stacks.
Write a function that returns the depth of a tree.
3) Given a N*N array where N is even such as 4, 8 and so on . Print the array from the center. a= [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16] the output should be [6 10 12 7 3 2 1 5 9 13 14 15 16 12 8 4 ] .
Test de recrutement numérique
Viewing 601 - 610 interview questions