# Problem Definition

## Description

Given a number N, find all factors of N.

Example:

N = 6

factors = {1, 2, 3, 6}

Make sure the returned array is sorted.

## Notes

1. [StackOverflow - Finding factors of a given integer](https://stackoverflow.com/questions/8647059/finding-factors-of-a-given-integer)

    In order to find the factors of 6, you only need to check till 2.45 (√6). The factors of 6 will be 1 and 2, and their converse numbers, i.e. 3 and 6.