Factor of a number N is a number d such that d divides N.
That is, N % d == 0.
Example:
For number 6, the factors are 1, 2, 3 and 6
.
This is best explained through working our way through some sample problems.
Walkthrough examples :
Problem | Score | Companies | Time | Status |
---|---|---|---|---|
Total Moves For Bishop! | 75 |
|
31:10 | |
Distribute in Circle! | 100 |
|
22:06 | |
Prime Sum | 150 |
|
43:15 | |
Sum of pairwise Hamming Distance | 200 |
|
66:52 | |
FizzBuzz | 200 |
|
12:34 | |
Is Rectangle? | 200 |
|
11:31 | |
Step by Step | 200 |
|
52:49 | |
Power Of Two Integers | 250 |
|
39:36 |
Problem | Score | Companies | Time | Status |
---|---|---|---|---|
Excel Column Number | 175 |
|
23:19 | |
Excel Column Title | 175 |
|
41:11 |
Problem | Score | Companies | Time | Status |
---|---|---|---|---|
Palindrome Integer | 200 |
|
17:28 | |
Reverse integer | 200 |
|
28:36 | |
Next Smallest Palindrome! | 400 |
|
63:38 |
Problem | Score | Companies | Time | Status |
---|---|---|---|---|
Greatest Common Divisor | 200 |
|
10:57 | |
Find Nth Fibonacci | 200 |
|
54:44 | |
Divisible by 60 | 200 |
|
28:04 | |
Powerful Divisors | 200 |
|
44:08 | |
Trailing Zeros in Factorial | 250 |
|
18:58 | |
Sorted Permutation Rank | 250 |
|
78:31 | |
Largest Coprime Divisor | 250 |
|
49:35 | |
Sorted Permutation Rank with Repeats | 500 |
|
68:43 |
Problem | Score | Companies | Time | Status |
---|---|---|---|---|
K-th Permutation | 200 |
|
51:39 | |
City Tour | 300 |
|
62:41 | |
Grid Unique Paths | 375 |
|
32:35 |
Problem | Score | Companies | Time | Status |
---|---|---|---|---|
Highest Score | 200 |
|
34:48 |
Problem | Score | Companies | Time | Status |
---|---|---|---|---|
Addition without Summation | 200 |
|
26:03 |
Problem | Score | Companies | Time | Status |
---|---|---|---|---|
Next Similar Number | 200 |
|
55:47 | |
Rearrange Array | 250 |
|
49:03 |
Problem | Score | Companies | Time | Status |
---|---|---|---|---|
Numbers of length N and value less than K | 200 |
|
90:00 |