Java implementation to Check whether a given number N can be converted to the form K power K by the given operation
import java . util . * ; class GFG { static HashSet < Integer > kPowKform = new HashSet < > ( ) ; static int [ ] dp = new int [ 100005 ] ;