Algorithms. Fourth edition - Sedgewick, Robert (Addison-Wesley, 2011)