Q7:)Given a positive integer, find the smallest integer that has exactly the same digits existing in the integer n and is greater in value than n. If no such positive integer exists, return -1. Note that the returned integer should fit in a 32-bit in...
gaurav246blogs.hashnode.dev2 min read
No responses yet.