ITC Infotech Interview Question

Problems based on sorting,Binary trees.One question on DBMS.Extracting data from the database.