You are given a positive integer n.
Your task is to return all prime numbers strictly less than n, in ascending order.
You may assume that:
n is in the range [1, 10000].Return an empty list if there are no primes less than n.
10
[2, 3, 5, 7]
The prime numbers less than 10 are 2, 3, 5, and 7.
2
[]
There are no prime numbers less than 2.
20
[2, 3, 5, 7, 11, 13, 17, 19]
The prime numbers less than 20 are 2, 3, 5, 7, 11, 13, 17, and 19.
10
[2, 3, 5, 7]