Practicing algorithm design and analysis ability for interviews