Practice with basic data structure and algorithm