Building a Mentorship Tree from a Sorted Array

Posted in youfolio-interview-questions by Christopher R. Wirz on Sun Jul 22 2012

Given an ordered collection, build a tree with the lowest value at the top left position.

Read More

Left, Middle, Right Iterator

Posted in youfolio-interview-questions by Christopher R. Wirz on Fri Jul 20 2012

Iterators let you chain operations without nesting loops - meaning you can keep O(n) complexity for streaming data sets.

Read More

Making a HashMap of LinkedLists

Posted in youfolio-interview-questions by Christopher R. Wirz on Thu Jul 19 2012

YouFolio's content must horizontally scale. Can you find an efficient means to distribute the values based on keys?

Read More

Finding accounts through interval halving

Posted in youfolio-interview-questions by Christopher R. Wirz on Wed Jul 18 2012

YouFolio's accounts are kept in order, but sharded by range. Can you find an item within the range?

Read More

Array rotation with Python

Posted in youfolio-interview-questions by Christopher R. Wirz on Tue Jul 17 2012

Changing the position of elements in large collections takes specical considerations where only the stack can be used.

Read More