TongTong Shi's Blog
A Playground to Share My Knowledge
Divide Two Integers Divide Two Integers
LeetCode Q 29 - Divide Two IntegersGiven two integers dividend and divisor, divide two integers without using multiplica
2019-04-08 Tong Shi
Number-Theoretic Algorithm - gcd Number-Theoretic Algorithm - gcd
Euclid’s algorithmEuclid’s algorithm for efficiently computing the greatest common divisor of two integers.PseudoCode: E
2019-04-08 Tong Shi
Permutation Sequence Permutation Sequence
LeetCode Q 60 - Permutation SequenceThe set [1,2,3,…,n] contains a total of n! unique permutations. By listing and label
2019-04-08 Tong Shi
Roman to Integer Roman to Integer
LeetCode Q 13 - Roman to IntegerRoman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Examp
2019-04-07 Tong Shi
Integer to Roman Integer to Roman
LeetCode Q 12 - Integer to RomanRoman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Given
2019-04-07 Tong Shi
Palindrome Number Palindrome Number
LeetCode Q 9 - Palindrome NumberDetermine whether an integer is a palindrome. An integer is a palindrome when it reads t
2019-04-06 Tong Shi
77 / 79