Factor Combinations-Leetcode (Asked in Uber)
Numbers can be regarded as product of its factors. For example,
8 = 2 x 2 x 2
= 2 x 4
Write a function that takes an integer n and return all possible combinations of its factors.
Note:
You may assume that n is always positive.
Factors shou...
kush01.hashnode.dev1 min read