A fairly simple question to check the number of the digits of an input. Make sure your code is robust enough to handle anything unexpected though
Programador De Cobol Interview Questions
711,478 programador de cobol interview questions shared by candidates
Design a ping-pong ranking system
Prove P = NP
Reverse a linked list without using temporary variables.
Given a string s, find the minimum cuts that partition s into substrings which are all palindrome.
Write a program to check if a number has rotational symmetry i.e is the same when rotated by 180 degrees. Ex 1691, 181, 11, 1001
give your a tree root, to find the same value in same layer
If given a list (or array) of numbers 1 - 100 with a number missing. How would you find that number?
Given a list of integers A and an integer k, return the number of unique pairs of integers in A that sum to k. For example, if A=[1 2 5 5 10 8 2] and k=10, the answer is 2, arrived as 5+5 or 2+8. There were 15 tests for this question, with at least the last two timing out, given that the implementation was not as efficient as possible.
/* * Suppose we have a sorted array in ascending order, with no duplicates: * * {1, 2, 3, 4, 5, 6, 7} * * Somehow an unknown amount of numbers at the beginning are shifted to the end, * creating an array that looks like: * 0 1 2 3 4 5 6 * {3, 4, 5, 6, 7, 1, 2} * * Let us call the new array a shifted cyclic array. * * Now, given a Shifted Cyclic Array int a[], and its length n (> 0), write a function * to find the smallest number in the array. */
Viewing 951 - 960 interview questions