Basic Data Structures Problems