1013 Commits

Author SHA1 Message Date
79a5d9eba5 Add solution 1178 2021-11-13 20:59:34 -08:00
ef2f198bd3 Merge pull request #186 from dotcom900825/patch-2
Minor type fix 1178.Number-of-Valid-Words-for-Each-Puzzle.md
2021-11-13 20:44:16 -08:00
04eae300bc Add solution 0488 2021-11-13 20:41:51 -08:00
d0aa4565cc Merge pull request #185 from gostool/leetcode0488
Leetcode0488
2021-11-13 20:30:19 -08:00
6fac7d3f8c Add solution 0299 2021-11-13 20:29:11 -08:00
a47ce19ef2 Merge branch 'master' of github.com:halfrost/LeetCode-Go 2021-11-13 20:24:56 -08:00
72dc8a52e6 Merge pull request #184 from gostool/leetcode0299
Leetcode0299
2021-11-13 20:24:26 -08:00
fdb35af2a8 Merge pull request #184 from gostool/leetcode0299
Leetcode0299
2021-11-13 20:16:18 -08:00
f40d668652 Update 1178.Number-of-Valid-Words-for-Each-Puzzle.md 2021-11-09 00:33:18 -08:00
81f38f90c3 add: leetcode 0488 readme 2021-11-09 16:21:56 +08:00
2a5d87d32e add: leetcode 0488 test 2021-11-09 16:21:25 +08:00
255faef838 add: leetcode 0488 solution 2021-11-09 16:21:11 +08:00
8ae68c0652 update: README.md 2021-11-08 17:01:43 +08:00
e6fd62785f add: leetcode 0299 solution 2021-11-08 16:59:23 +08:00
df54373ba8 Update solution 0541 2021-11-07 01:15:26 -08:00
fcc3d10ff1 update solution 0031 & 0048 2021-11-06 20:56:12 -07:00
20ae5d88ba Merge pull request #180 from ashtishad/master
Update 031-Next Permutation and 048. Rotate Image
2021-11-06 19:28:11 -07:00
b3225a0f11 Add solution 492 2021-11-06 19:18:25 -07:00
f09ea6cd09 Update README 2021-11-06 19:06:10 -07:00
7d3ba345f3 Merge pull request #176 from gostool/leetcode0301
add: leetcode 0301 solution
2021-11-06 18:42:02 -07:00
a3f71751eb Merge pull request #181 from novahe/master
update/0515: add other solution
2021-11-06 18:28:03 -07:00
2051a1b67c Merge pull request #182 from dotcom900825/patch-1
Minor typo fix
2021-11-06 18:26:51 -07:00
0a3c4d0ed8 Minor type fix 2021-11-06 09:34:41 -07:00
2608238acb update/0515: add other solution 2021-11-05 19:45:18 +08:00
e6938093ca Update 48. Rotate Image
Notes:
----------
* easily understandable logic.
* rotate clock-wise = 1. transpose matrix => 2. reverse(matrix[i])
* detailed explanation in comment.
* passes all testcases.

Time Complexity  : O(N)
Space Complexity : O(1)
2021-11-04 15:37:15 +06:00
86b2646ec6 Update 031-Next Permutation
Changes:
----------
* Devided resposiblity with using functions.
* Slice in already a reference type in go, means in passes actual slice(not a copy) to functions, that's why using pointers in swap and reverse functions look redundant in my opinion.

Discussion:
--------------
https://leetcode.com/problems/next-permutation/discuss/1554932/Go-Submission-with-Explanation
2021-11-04 15:16:54 +06:00
7d08f48786 add: leetcode 0301 solution 2021-10-27 12:36:07 +08:00
af654b2e51 Update Chapter Two 2021-10-21 22:52:55 -07:00
796b4b6582 Update Chapter Two 2021-10-21 22:51:12 -07:00
9effade48f Update 0352 solution 2021-10-21 22:48:09 -07:00
44541dc0ef Merge pull request #173 from gostool/leetcode0352
add: leetcode 0352 solution
2021-10-21 22:17:51 -07:00
f68bec22d9 add: leetcode 0352 solution 2021-10-09 11:56:13 +08:00
0e69148802 Update 498 solution 2021-10-08 20:05:23 -07:00
819145dca6 Update 2021-10-08 20:02:46 -07:00
4b3ef8a97d Update 2021-10-08 20:02:14 -07:00
24ee84feaf Update 2021-10-08 20:01:23 -07:00
d3bb8b6279 Update 2021-10-08 20:00:27 -07:00
219c53bb03 Update 434 solution 2021-10-08 19:58:15 -07:00
16b1ab75bd Merge pull request #172 from gostool/leetcode0434
add: leetcode 0434 solution
2021-10-08 19:52:02 -07:00
325e5130b7 Update 212 solution 2021-10-08 19:50:33 -07:00
bde069b75e add: leetcode 0434 solution 2021-10-07 19:28:26 +08:00
f461eadb78 Update solution 0328 2021-09-17 23:41:06 -07:00
d32347137a Update solution 0058、0551、0958 2021-09-15 03:51:40 -07:00
71b771dc5d Add solution 0058 2021-09-15 03:22:09 -07:00
0d3b70571a Merge pull request #170 from gostool/leetcode0058
add: leetcode 0058 solution
2021-09-15 03:19:21 -07:00
bef7599068 Add solution 0551 2021-09-15 03:18:02 -07:00
3c11d93a29 add: leetcode 0058 solution 2021-09-15 17:04:01 +08:00
29880358f0 Merge pull request #166 from gostool/leetcode0551
add: leetcode 0551 solution
2021-09-14 23:49:07 -07:00
7db2a76fd6 Update solution 0445 2021-09-14 23:47:56 -07:00
5c0f4f9103 Merge pull request #167 from novahe/master
fix/445: add other solutions
2021-09-14 21:36:40 -07:00