Expedia
1 DSA problems asked in Expedia coding interviews
1 problem
You are given two positive integers n and k. A factor of n is an integer i with n % i == 0. List all factors of n in ascending order and return the kth one, or -1 if n has fewer than k factors.