Skip to content

Commit 0bba9e8

Browse files
committed
fix order
1 parent e916197 commit 0bba9e8

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

README.md

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -162,39 +162,38 @@ By default, the time complexity is the worst time and the space complexity doesn
162162
--
163163
####[[]](#toc) <a name='math'>Math:</a>
164164

165-
* [Given a list of integers of length n in the range of 1 to n-1, find the duplicate element (only one duplicate)](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Find%20the%20duplicate%20element.cpp)
166-
* [Return the duplicate indexs with equal probability](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Return%20the%20duplicate.cpp)
167-
* Find the complement domino pairs
168-
* [Calculate (m^n)%(10^k)](https://github.com/checkcheckzz/coding-problem/blob/master/problem/Math/Calculate%20(m%5En)%25(10%5Ek).cpp)
169-
* [For some N, print all the solutions of A*B = C*D where A, B, C, D are all 1~N](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Print%20all%20the%20solutions.cpp)
170-
* [Highest 1 position of binary expression](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Highest%201%20position%20of%20binary%20expression.cpp)
165+
* [Angle between the hour and minute hands](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Angle%20between%20the%20hour%20and%20minute.cpp)
166+
* [Calculate (m^n)%(10^k)](https://github.com/checkcheckzz/coding-problem/blob/master/problem/Math/Calculate%20(m%5En)%25(10%5Ek).cpp
167+
* [Change a m base number to a n base number](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/MbasetoNbase.cpp)
171168
* [Delete k digits from a number to get minimal number](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Delete%20k%20digits.cpp)
172-
* [Output true with probability 1/2^N given a function outputing true with probability 0.5](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Output%20true.cpp)
173-
* [Given a positive integer N, print all combinations of non-negative integer sum to N](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Print%20all%20combinations.cpp)
174-
* Find largest triangle in convex hull aside from brute force search
169+
* Divide a plane of points into two equal halves
175170
* [Factorial digit sum](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Factorialdigitsum.cpp)
176-
* [Last digit of a^b](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Last%20digit%20of%20a%5Eb.cpp)
171+
* [Find all numbers less than N, such that n = a^3 + b^3 = c^3 + d^3](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Specialnumber.cpp)
172+
* [Find k from 1~n such that k=a^2 +b^2 (a, b positive integer)](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Number%20k%3Da%5E2%20%2Bb%5E2.cpp)
173+
* Find largest triangle in convex hull aside from brute force search
174+
* Find the complement domino pairs
175+
* [Find the LCM and GCD of two numbers](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Find%20the%20LCM%20and%20GCD%20of%20two%20numbers.cpp)
176+
* Find the longest 0s surrounded by 1s in a binary expression
177177
* [Form a triangle](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Form%20a%20triangle.cpp)
178+
* [For some N, print all the solutions of A*B = C*D where A, B, C, D are all 1~N](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Print%20all%20the%20solutions.cpp)
179+
* [GetDecimal](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/GetDecimal.cpp)
180+
* [Get original number including digit 7](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Get%20original%20number%20including%20digit%207.cpp)
181+
* [Given a list of integers of length n in the range of 1 to n-1, find the duplicate element (only one duplicate)](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Find%20the%20duplicate%20element.cpp)
182+
* [Given a positive integer N, print all combinations of non-negative integer sum to N](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Print%20all%20combinations.cpp)
178183
* [Happy Number](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Happy%20Number.cpp)
184+
* [Highest 1 position of binary expression](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Highest%201%20position%20of%20binary%20expression.cpp)
185+
* [Impletement the cancall() function](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Cancallfunction.cpp)
186+
* [Last digit of a^b](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Last%20digit%20of%20a%5Eb.cpp)
179187
* Magic Number
180188
* Nearest greater palindrome
181-
* [GetDecimal](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/GetDecimal.cpp)
182-
* Smallest positive number that can not be represented
183-
* [Find k from 1~n such that k=a^2 +b^2 (a, b positive integer)](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Number%20k%3Da%5E2%20%2Bb%5E2.cpp)
184-
* [Change a m base number to a n base number](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/MbasetoNbase.cpp)
185-
* [Impletement the cancall() function](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Cancallfunction.cpp)
186-
* Find the longest 0s surrounded by 1s in a binary expression
189+
* [Output true with probability 1/2^N given a function outputing true with probability 0.5](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Output%20true.cpp)
187190
* [Print all numbers including digit 5 smaller than number N](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Printallnumwithdigit5.cpp)
188-
* [Angle between the hour and minute hands](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Angle%20between%20the%20hour%20and%20minute.cpp)
189-
* [Get original number including digit 7](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Get%20original%20number%20including%20digit%207.cpp)
190-
* [Find the LCM and GCD of two numbers](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Find%20the%20LCM%20and%20GCD%20of%20two%20numbers.cpp)
191-
* [Sieve of Eratosthenes algorithm](https://github.com/checkcheckzz/coding-problems/blob/master/problem/SieveofEratosthenes.cpp)
192191
* [Print prime factors of a given number](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Primefactors.cpp)
193-
* Divide a plane of points into two equal halves
194-
* Find largest triangle in convex hull
195-
* [Find all numbers less than N, such that n = a^3 + b^3 = c^3 + d^3](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Specialnumber.cpp)
196192
* Random generator with blacklist
197193
* [Read a line from a file randomly](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Readaline.cpp)
194+
* [Return the duplicate indexs with equal probability](https://github.com/checkcheckzz/coding-problems/blob/master/problem/Math/Return%20the%20duplicate.cpp)
195+
* [Sieve of Eratosthenes algorithm](https://github.com/checkcheckzz/coding-problems/blob/master/problem/SieveofEratosthenes.cpp)
196+
* Smallest positive number that can not be represented
198197

199198
--
200199
####[[]](#toc) <a name='bit'>Bit Manipulation:</a>

0 commit comments

Comments
 (0)