https://ide.codingblocks.com/s/184935
this is the code
Code is giving rum error
hey @yashsingh9289 since the size of array could be as large as 2 * 10^5 make size of arr and temp 200005
hey @yashsingh9289 since the size of array could be as large as 2 * 10^5 make size of arr and temp 200005