Https://ide.codingblocks.com/s/339663

Sir please tell me how do i expand this code for n upto 10^9

hello @sauravzt7

use map in place array.

check this->