The Travels of Marco Cai

  • Home

  • About

  • Tags

  • Archives

  • Search

[Gundam] Metal Build F91 MSV

Posted on 2018-06-05 | Edited on 2018-06-15 |

MB F91 Collage

Read more »

[LeetCode] Challenge log 258

Posted on 2018-05-29 | Edited on 2018-06-05 |
258. Add Digits

O(1) soulution: 12345 % 9 = (1+2+3+4+5) % 9.

Based on a*10^k % 9 = a % 9.

Read more »

[LeetCode] Challenge log 695

Posted on 2018-05-21 | Edited on 2018-06-05 |
695. Max Area of Island

Recursive solution. Remember to check the seen slot.

Read more »

[LeetCode] Challenge log 796

Posted on 2018-05-19 | Edited on 2018-06-05 |
797. Rotate String

Use hash function to compare if B is a “rotate string” of A

Read more »

[LeetCode] Challenge log 812

Posted on 2018-05-15 | Edited on 2018-06-04 |
812. Largest Triangle Area

Violent full traverse solution.

Read more »

[Gundam] MG ZZ (finished) 2

Posted on 2018-05-09 | Edited on 2018-06-07 |

MG ZZ Collage

MG ZZ Collage (MA mode)

Total 2 months of assembling, painting, shooting and post-producing. Enjoy!

Read more »

[Gundam] MG ZZ (finished)

Posted on 2018-05-09 | Edited on 2018-06-07 |

MG ZZ Parts

Read more »

[LeetCode] Challenge log 784

Posted on 2018-05-08 |
784. Letter Case Permutation

Recursive solution.

Read more »

[LeetCode] Challenge log 762

Posted on 2018-04-30 | Edited on 2018-05-01 |
762. Prime Number of Set Bits in Binary Representation
  1. Use info to calculate the poosible prime numbers .
  2. Traverse the list and see if the numbers have the desired number of ome bits.
Read more »

[LeetCode] Challenge log 485

Posted on 2018-04-29 | Edited on 2018-05-01 |
485. Max Consecutive Ones

Self explained.

Read more »
1…567…13
Mingxiang Cai

Mingxiang Cai

A learner, a hobbyist.

128 posts
56 tags
© 2019 Mingxiang Cai
0%