Commit Graph

101 Commits

Author SHA1 Message Date
3ebc5fb653 twoSum done, started anagram 2024-04-15 21:46:27 -07:00
78b7c57b40 Stack method solved 2023-10-02 21:05:36 -07:00
b9b739b93d passes 27/98 cases 2023-10-02 19:15:11 -07:00
7d38ee51ce solved using v = d/t 2023-10-02 03:30:30 -07:00
ba769e5cf8 started car fleet problem with enumerate method 2023-10-01 20:51:57 -07:00
7da5e88c64 solved with stack method O(n^2) 2023-09-28 18:02:08 -07:00
4d8fd333e4 two pointer method, timed out at 41/48 test cases 2023-09-28 17:29:26 -07:00
9f70612630 Solved using recursion 2023-09-27 07:41:44 -07:00
b285140f84 passes 10/21 test cases using stack method with two lists 2023-09-27 05:04:00 -07:00
febbbd72d3 commented print statements 2023-09-26 21:16:21 -07:00
85db2d73d0 Changed method to matrix that keeps track of min value at all times 2023-09-26 21:15:47 -07:00
18baee9bd5 Completes all test cases 2023-09-26 21:07:10 -07:00
085299d955 Solved, using stack method of append and pop 2023-09-24 21:27:35 -07:00
f5c20bdcca Fixed typo on method variable input 2023-09-22 23:32:49 -07:00
a32bf78f4d Solution Found using two pointers, increase left if next value larger, same with right 2023-09-22 23:28:54 -07:00
f847a77884 Added O(N) Solution with comments 2023-09-21 21:15:17 -07:00
d8d82396e3 Completes 52/61 test cases 2023-09-21 21:03:01 -07:00
1f1479e39a Container with water file initialization 2023-09-20 23:52:56 -07:00
852af63a7e Solved for all test cases 2023-09-19 23:47:10 -07:00
580f34ebc8 Added third dimension to check valid box 2023-09-15 20:39:20 -07:00
fe29a16ec3 added minor comments 2023-09-07 20:49:02 -07:00
5551dcc4fe O(m*nlogn) solution 2023-09-07 20:07:43 -07:00
4e83f1d5ea solution accepted 2023-09-07 02:01:26 -07:00
15bd3181c2 solves 69/73 cases, timed out 2023-09-06 11:15:15 -07:00
3e7d66d2d6 Solution Using length of string to encode and decode 2023-09-06 09:15:07 -07:00
d9b29c2b84 organization updates and revisit 2023-09-05 19:24:58 -07:00
aae8698336 Solved, with help from solutions 2023-09-05 19:22:14 -07:00
d257ab3564 first attempt, solves 12/78 2023-09-04 21:36:51 -07:00
a3de7c9d08 started problem 15 3sum 2023-09-02 23:44:52 -07:00
c0ea57c627 added solution of different methods 2023-09-01 21:37:42 -07:00
3456cd63be solution accepted, beats 51% runtime 2023-09-01 21:36:51 -07:00
11f76be23e timed out completes 23/28 cases 2023-09-01 21:29:22 -07:00
c11cbf310c 2 line solution 2023-08-31 22:51:11 -07:00
ba6c38c00e Answer accepted 2023-08-30 09:13:13 -07:00
96d0e5df76 handles 401/485 cases 2023-08-30 09:08:31 -07:00
05ba99b479 solution works, but maketrans from string library not accepted 2023-08-30 08:51:55 -07:00
9544d64f85 passes 30/72 tests 2023-08-28 23:45:49 -07:00
3a53e85da2 Palindrome Start 125 2023-08-27 23:45:19 -07:00
321c4d43bf clears 33/73 cases 2023-08-25 21:45:55 -07:00
2a9eefaf80 solved 15/73 cases 2023-08-25 21:37:26 -07:00
050d2f4041 added for loop method to encode and decode 2023-08-24 23:53:58 -07:00
0f650a6ed9 initialized free link of problem 2023-08-23 10:27:40 -07:00
a8cf9a4807 updated to matrix method to check validity 2023-08-22 23:30:34 -07:00
790be3a565 new inputs 2023-08-21 22:15:44 -07:00
ef15f4d7e2 first attempt with hashmap fo sudoku 2023-08-20 20:22:35 -07:00
ed861eb628 Valid Sudoku Initialization 2023-08-19 22:55:57 -07:00
ade978c89c Beats 80% of runtime, uses a lot of memory. multiples loops is still O(n) 2023-08-17 02:04:49 -07:00
c4be189687 Completes 18/22 timed out 2023-08-17 02:00:30 -07:00
976b6174eb changed output to solve 10/73 problems 2023-08-15 22:23:03 -07:00
c9bdf86fac Attempt using slicing to achieve O(n) without division. 2023-08-12 09:09:03 -07:00