Data-structure Algorithm and sample questions