the second problem can also be solved in(withoutbinary searchorhashing).hereis the solution. →Reply redyellow 11 years ago,#^| ←Rev.3→0 can you please check this codehttp://ideone.com/3tdMOZfor the second problem (codechef one).it uses binary search + hashing but i think its O(...