B+ tree is used by database... i guess same can be used here. On 28 Dec 2014 16:13, "kumar raja" <[email protected]> wrote:
> which is like a table in database, and produces results for user queries. > > Data is: in txt file. > > ID, FIRSTNAME, LASTNAME, AGE, SALARY, TITLE > 1, "venkatesh", "kumar", 21, 30000, "reporter" > 2, "kiran", "kannan", 45, 9000, "chairman" > 3, "pradeep", "mishra", 35, 15000, "manager" > 4, "suman", "raj", 35, 12000, "manager" > > user query will be like > "select firstName, lastName where age>25 orderby salary dsc" > > dsc - for descending > you have to produce appropriate records. > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
