Good Website for Interview pratice? Coding & Non-Coding Questions?
Good Website for Interview pratice? Coding & Non-Coding Questions?
3 Replies
@trEE has some questions from hell
$questions-from-hell
Questions from Hell
1. Given a sorted dictionary of a language using only the characters a-z but with a completely different alphabetical order than the Latin alphabet, find the order of characters in this language.
2. You have a fixed number of conference rooms, and a list of requested date-time ranges over a month. Assign the greatest number of requested ranges to all rooms. Bonus: the requests have a number of attendees and the rooms have maximum capacities.
3. You have millions of irregularly-shaped geographical regions, and must find the regions a collection of points are contained within.
4. You have a collection of companies, who have business relationships with other companies. Write a function which takes an input field and a company name, and produces the closest matching name of a company, where this company is no greater than two degrees separated from the provided company.
5. Given a number of lists of fixed-size blocks of data, with fixed maximum list lengths, create a function for sharing blocks across these lists such that if two lists disappear, you can reconstruct the data in those lists. You may construct additional blocks of data to contain information to aid in reconstruction.
6. Write a regular expression for numbers divisible by 3. You cannot use PCRE, this must be in standard regex only, and must work for arbitrary length strings.