You are given a dictionary, such as /usr/share/dict/words, containing a list of words, one per line. You are also given seven tiles. Each tile is either blank or contains a single lowercase letter (a-z). List all of the words from the dictionary that can be produced by using some or all of the seven tiles, in any order. A blank tile is a wildcard, and can be used in place of any letter. Try to use a minimal amount of memory. 1. Find all of the words that can be formed if you don't have to deal with blank tiles. (You may skip this step and go straight to step 2). 2. Find all of the words that can be formed, including those where blank tiles are used as wildcards. 3. Would you do things differently if you had to process several hundred tile sets with the same dictionary?
Ingegneria Interview Questions
375,393 ingegneria interview questions shared by candidates
Given an array and a target value, return true if there is a pair of numbers in the array that sum to this target.
Determine the nth fibonacci number recursively.
Given and array. How do you find if there are such three numbers whose sum is Zero. What is the cost of this algorithm?
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.
Which programming language you most familiar with?
Check if a String contains a number or not
There is an array of size n which consists of any numbers from 1 to n .Find the numbers in the array which are appear more than once
Given a dictionary as a hashtable and a word. Find the minimum # of deletions needed on the word in order to make it a valid word in the dictionary.
write a function to calculate X^N
Viewing 531 - 540 interview questions