Solutions for Practice problems in Data Structures and Algorithms