Print a N x M matrix in diagonal from the upper left to lower right. However, with the following caveat. It's easy to just show the input and expect output. matrix: a b c d e f g h i j k output: aej bfk cg di h
Software Interview Questions
550,133 software interview questions shared by candidates
Given many points, find k points that are closest to the origin.
Coding questions of good standard !
Give an array of Integer which contain duplicate number from 1-100, how to count how many distinct number you have?
Write a code to reverse binary bit pattern for an integer without using any string or utility methods?
How would you implement a top 3 word count in a text editor application?
Find nth last number in a singly linked list.
Was given a homework question(2days): Program using a language of your choice the following assignment, given a file of sorted strings (one string per line, example file was given) sorted according to some unknown alphabet, recover the order of characters of this alphabet.
Main Technical Question: Write a function that takes as input an array of words input => ['cat', 'star', 'act', 'god', 'arts', 'dog', 'rats'] and returns a sorted array output => ['cat', 'act', 'god', 'dog', 'start', 'arts', 'rats']
Given a Binary Search Tree, iterate over the elements without using recursion.
Viewing 421 - 430 interview questions