360 Commits

Author SHA1 Message Date
YDZ
640dc700a6 Update solution 0069 2021-06-05 23:43:42 +08:00
d0c6f905f6 Merge pull request #146 from hanlins/69/sqrtx/consise-binary-search
Make the binary search solution more concise for Sqrt x
2021-06-05 23:40:24 +08:00
295504eb45 Merge pull request #145 from novahe/fix/209
fix/209: clean up redundant code
2021-06-05 23:33:54 +08:00
YDZ
cc78fdd0ef Add solution 0097、0523、0525、1465、1744 2021-06-04 16:22:35 +08:00
YDZ
c0191c235d Add solution 1268 2021-06-04 09:58:16 +08:00
60d3b04030 Make the binary search solution more concise for Sqrt x
Signed-off-by: Hanlin Shi <shihanlin9@gmail.com>
2021-06-03 16:22:35 -07:00
2104d8f332 fix/209: clean up redundant code 2021-06-04 00:37:02 +08:00
9e357544d1 fix/199: clean up redundant code 2021-06-01 22:52:00 +08:00
3dac8b9e82 Merge pull request #143 from novahe/fix/150
clean up redundant code
2021-06-01 13:08:48 +08:00
YDZ
9fb39146b7 Update 0051 solution 2021-06-01 13:04:57 +08:00
5cd43244e9 clean up redundant code 2021-05-31 23:40:55 +08:00
cff768e63c Add solution for N-Queen problem which uses bit-operation
Still uses DFS, optimized for state compression.

Signed-off-by: Hanlin Shi <shihanlin9@gmail.com>
2021-05-31 00:43:43 -07:00
44eddae9d0 update 129 2021-05-29 21:01:30 +08:00
22e9be3663 Use a concise solution for problem 24 swap nodes in pairs
Signed-off-by: Hanlin Shi <shihanlin9@gmail.com>
2021-05-27 09:48:36 -07:00
YDZ
11f3e13688 Add solution 1190 2021-05-27 11:00:10 +08:00
315d4fa8d8 Merge pull request #139 from NovaHe/fix/91
Fix/91 and 80
2021-05-26 00:47:31 +08:00
7a3fe1fed2 add 80 solution explain 2021-05-25 22:21:37 +08:00
YDZ
00b6d1a6ca Add solution 709 2021-05-25 02:07:37 +08:00
38875b19fb update 91 2021-05-24 23:16:08 +08:00
44c68a333a update 80 2021-05-23 17:25:26 +08:00
6d2d38e124 Merge pull request #138 from NovaHe/fix/75
clean up redundant code
2021-05-23 16:28:04 +08:00
d5aacae9d2 clean up redundant code 2021-05-23 14:30:33 +08:00
58f6f7fedb clean up 62 2021-05-23 13:19:27 +08:00
YDZ
9dbefba7cd Add solution 0810 2021-05-22 22:40:52 +08:00
991cb6e3d7 Merge pull request #133 from NovaHe/fix/48
fix/48: clean up code
2021-05-22 21:31:25 +08:00
YDZ
4330393c9b Update solution 1572 2021-05-22 21:29:38 +08:00
cd5572f250 Merge pull request #135 from gostool/leetcode1572
add: leetcode 1572 solution
2021-05-22 21:18:21 +08:00
YDZ
776fe07932 Add solution 0609、0692、0890、1048、1442、1738 2021-05-22 20:15:28 +08:00
36f3a4c757 add: leetcode 1572 solution 2021-05-21 16:48:31 +08:00
YDZ
86370c1ac5 Add solution 0462 2021-05-20 23:55:27 +08:00
bb50f33fec fix/48: clean up code 2021-05-20 00:04:27 +08:00
YDZ
be276a58dc update test case 2021-05-17 01:30:46 +08:00
5e77733f1a fix/19: clean up code 2021-05-16 17:48:21 +08:00
YDZ
851946dc9a Update solution 0003 2021-05-13 16:14:13 +08:00
e72e4cb599 Merge pull request #130 from NovaHe/fix/3
fix/3: clean up code
2021-05-13 15:58:52 +08:00
YDZ
40201dceb1 Add solution 0816 2021-05-13 15:51:26 +08:00
YDZ
e3304f5a83 Add solution 1310 2021-05-12 23:14:26 +08:00
3c1176be43 fix/3: clean up code 2021-05-12 21:29:15 +08:00
YDZ
012999a33b Add solution 1734 2021-05-11 03:32:45 +08:00
YDZ
9a30c0094e Add solution 0583、1482 2021-05-09 18:47:59 +08:00
YDZ
09c6e478e1 Update 0215 solution 2021-05-09 16:52:24 +08:00
YDZ
98c5414092 Add solution 630 2021-05-09 09:17:12 +08:00
YDZ
76753e8ca6 Update solution 0874 2021-05-08 16:29:09 +08:00
a10cebc033 Merge pull request #125 from NovaHe/feature/874
feature/874: add 874 solution
2021-05-08 16:15:20 +08:00
YDZ
5f6ea09570 Add solution 1486 2021-05-08 16:12:00 +08:00
2450cf4dd0 fix/345: clean up redundant code 2021-05-05 12:01:03 +08:00
1835b6dd45 feature/874: add 874 solution 2021-05-04 21:36:26 +08:00
YDZ
24829288bb Update 0821 solution 2021-05-04 21:13:20 +08:00
624a9ae9e6 Merge pull request #124 from NovaHe/feature/821
feature/821: add O(n) solution
2021-05-04 21:01:32 +08:00
YDZ
70aafb68d4 update 137 solution 2021-05-04 21:00:43 +08:00