Saturday, February 17, 2018

2.17

1:30

  • 179 Update Bits
  • 163 Unique Binary Search trees
  • 140 Fast Power
  • 180 Binary Representation

Greedy

No comments:

Post a Comment

4. Ugly Number

1*2(t2) 2*2 3*2 (t3)1*3 2*3 3*3 (t5)1*5 2*5 3*5 1*2 2*2(t2) 3*2 1*3(t3) 2*3 3*3 (t5)1*5 2*5 3*5 Solution: public int nthUglyNumbe...