my code:- https://ide.codingblocks.com/s/286978
My code is giving wrong answer
@D19APPND0003 constraints are tight do using normal arrays.
also take size as n you are doing n+1 but size is n
@D19APPND0003 constraints are tight do using normal arrays.
also take size as n you are doing n+1 but size is n