DS and Algorithms problems