assignment 1- Prediction search Input format- First line contains an integer 'n' telling number of insertions in tree. Next n lines contain strings. Then enter the number of test cases- For each test case- Enter a prefix string.
assignment 2- Count Set Bits Input format- First line contains an integer 'n' telling number of test cases. Next n lines contain numbers whose set bits are to be known.