i have understood the logiv but cant convert it into code.
i dont know how to use posarr[] as explained in the hint video
Help with code please
@techashish2000 https://ide.codingblocks.com/s/246018 I am sharing my code with you for reference. Please dont copy the code, try to understand the logic and write it on your own.