I am motivated to develop simple yet effective algorithms for many real problems. I have taken a collection of notes and compiled them into a book named Searching and Ranking based on my learning experience on Artificial General Intelligence (AGI). It covers some classical algorithms (detailed mathematical derivations may be included as well) in information retrieval, machine learning, mathematical optimization, statistics and decision making. Please let me know if you find it useful.