Compare commits

...

682 commits

Author SHA1 Message Date
go outside labs helper
c1935a5723
Update links 2023-11-28 12:06:06 -08:00
YnQzZ2w
f51e2f289a
🦖 2023-08-13 09:01:14 -07:00
bt3gl
454f989928
Update README.md 2023-08-08 20:35:51 -07:00
bt3gl
7a42c72a71
Update README.md 2023-08-08 20:32:18 -07:00
bt3gl
8e2ee50f0e
Update README.md 2023-08-08 20:30:00 -07:00
bt3gl
4b58e7b308
Update README.md 2023-08-08 20:29:33 -07:00
bt3gl
20771919fb
Update README.md 2023-08-08 20:25:09 -07:00
bt3gl
2178f880ee
Update README.md 2023-08-08 20:20:44 -07:00
bt3gl
ed6bc75d3e
Update README.md 2023-08-08 20:17:28 -07:00
bt3gl
93a3d07928
Update README.md 2023-08-08 20:12:39 -07:00
bt3gl
faa7b70a00
Update bst_is_valid.py 2023-08-08 20:11:05 -07:00
bt3gl
5108f546c6
Update bs_sucessor_and_precessor.py 2023-08-08 20:00:05 -07:00
bt3gl
0264d26b7e
Update README.md 2023-08-08 19:59:55 -07:00
bt3gl
fcd4eb423b
Update bt_construct_inorder_preorder.py 2023-08-08 19:56:03 -07:00
bt3gl
14404c47c8
Update bt_construct_inorder_postorder.py 2023-08-08 19:55:27 -07:00
bt3gl
bbdd47ffd3
Update bt_construct_inorder_postorder.py 2023-08-08 19:51:19 -07:00
bt3gl
b9318bf6ea
Update bt_inorder_iterator.py 2023-08-08 19:27:15 -07:00
bt3gl
bc8ff138e3
Update README.md 2023-08-08 17:49:23 -07:00
bt3gl
86b7f9ce18
Update README.md 2023-08-08 17:47:37 -07:00
bt3gl
2ef7451aba
Update README.md 2023-08-08 17:47:09 -07:00
bt3gl
3d8e44eef9
Update README.md 2023-08-08 17:46:27 -07:00
bt3gl
802c4c9d5a
Update README.md 2023-08-08 17:45:16 -07:00
bt3gl
39a321a8e0
Update README.md 2023-08-08 17:43:53 -07:00
bt3gl
039bc676f7
Update README.md 2023-08-08 17:42:57 -07:00
bt3gl
eea51a4809
Update README.md 2023-08-08 17:41:16 -07:00
bt3gl
65da6b0c55
Update README.md 2023-08-08 17:39:52 -07:00
bt3gl
7341955f63
Update README.md 2023-08-08 17:39:01 -07:00
bt3gl
ef51d31441
Update README.md 2023-08-08 17:38:12 -07:00
bt3gl
74b313da96
Update README.md 2023-08-08 17:37:07 -07:00
bt3gl
0225dba9ab
Update README.md 2023-08-08 17:33:45 -07:00
bt3gl
215115e76b
Update README.md 2023-08-08 17:33:22 -07:00
bt3gl
3d2fda8696
Update README.md 2023-08-08 17:31:48 -07:00
bt3gl
567efaaa42
Update README.md 2023-08-08 17:26:50 -07:00
bt3gl
a684d7989e
Update README.md 2023-08-08 17:17:16 -07:00
bt3gl
7b32dbb0d7
Update README.md 2023-08-08 17:11:56 -07:00
bt3gl
ac1f70506a
Update README.md 2023-08-08 17:10:49 -07:00
bt3gl
ba0780c240
Delete map_sum.py 2023-08-08 17:03:31 -07:00
bt3gl
044afb8d21
Update README.md 2023-08-08 17:03:08 -07:00
bt3gl
a0d31643e4
Update README.md 2023-08-08 17:02:16 -07:00
bt3gl
4e895726bd
Update trie_preorder.py 2023-08-08 17:02:11 -07:00
bt3gl
728b441734
Update trie_postorder.py 2023-08-08 17:01:53 -07:00
bt3gl
a97c06f579
Update trie_find_height.py 2023-08-08 16:59:52 -07:00
bt3gl
761e86705f
Update trie_bfs.py 2023-08-08 16:57:11 -07:00
bt3gl
bd2fb7fb45
Update README.md 2023-08-08 16:51:52 -07:00
bt3gl
544f5e8f4b
Delete largest_k_matrix.py 2023-08-08 16:51:48 -07:00
bt3gl
f02da2c80e
Update k_smallest_matrix.py 2023-08-08 16:51:10 -07:00
bt3gl
66cf6cc427
Update and rename k_element_stream.py to kth_largest_stream.py 2023-08-08 16:45:59 -07:00
bt3gl
f75b102b78
Delete median_from_stream.py 2023-08-08 16:44:19 -07:00
bt3gl
bf35809bb2
Update and rename top_k_frequent_heap.py to top_k_frequent.py 2023-08-08 16:44:03 -07:00
bt3gl
e7d19505dc
Update and rename free_rooms.py to non_overlapping_invervals.py 2023-08-08 16:42:03 -07:00
bt3gl
9077029939
Update and rename compare_2_tops.py to compare_two_tops.py 2023-08-08 16:37:55 -07:00
bt3gl
e8c7b716af
Update heapify.py 2023-08-08 16:34:19 -07:00
bt3gl
3d8b77bf80
Update heap_sort.py 2023-08-08 16:33:04 -07:00
bt3gl
4002609137
Update README.md 2023-08-08 16:21:55 -07:00
bt3gl
09b98e3740
Update README.md 2023-08-08 16:21:29 -07:00
bt3gl
fde384b038
Update matrix_dfs_and_bfs.py 2023-08-08 16:21:22 -07:00
bt3gl
0f85ea546c
Update README.md 2023-08-08 16:18:57 -07:00
bt3gl
d574e9627d
Update matrix_bfs.py 2023-08-08 16:18:48 -07:00
bt3gl
93a6452f57
Update README.md 2023-08-08 16:16:05 -07:00
bt3gl
cc05ef2ea8
Update dfs.py 2023-08-08 16:15:56 -07:00
bt3gl
c8fad05719
Update bfs.py 2023-08-08 16:14:09 -07:00
bt3gl
f117ec52e5
Update README.md 2023-08-08 16:12:42 -07:00
bt3gl
1b5c749a50
Update README.md 2023-08-08 16:10:02 -07:00
bt3gl
92a74485ec
Update README.md 2023-08-08 16:09:42 -07:00
bt3gl
d1123f8c75
Update README.md 2023-08-08 16:05:57 -07:00
bt3gl
e0ef50da5b
Update bst_is_valid.py 2023-08-08 16:05:32 -07:00
bt3gl
f8dc224ae5
Update bst_lowest_common_ancestor.py 2023-08-08 16:00:29 -07:00
bt3gl
6f312b7631
Rename bt_simple.py to bt_cute.py 2023-08-08 15:56:48 -07:00
bt3gl
cb2909d421
Update bst_insert_node.py 2023-08-08 15:46:10 -07:00
bt3gl
a3ce5db3a5
Update bst_delete_node.py 2023-08-08 15:41:34 -07:00
bt3gl
122a535241
Update bs_sucessor_and_precessor.py 2023-08-08 15:39:55 -07:00
bt3gl
27f5ce1c6f
Rename bst_sucessor_and_precessor.py to bs_sucessor_and_precessor.py 2023-08-08 15:39:44 -07:00
bt3gl
ef073d11ca
Update and rename bst_inorder_iterator.py to bt_inorder_iterator.py 2023-08-08 15:37:13 -07:00
bt3gl
d50ed323fd
Update bst_search.py 2023-08-08 15:35:17 -07:00
bt3gl
8bc3090801
Rename bst_sucessors_and_precessors.py to bst_sucessor_and_precessor.py 2023-08-08 15:32:38 -07:00
bt3gl
f08037aeb8
Rename bst_pre_sucessor.py to bst_sucessors_and_precessors.py 2023-08-08 15:32:21 -07:00
bt3gl
23c20d4aaa
Rename bst_find_successor_inorder.py to bst_sucessor_two_nodes.py 2023-08-08 15:31:45 -07:00
bt3gl
5d56bb3855
Update and rename bst_find_inorder_successor.py to bst_find_successor_inorder.py 2023-08-08 15:28:11 -07:00
bt3gl
cba141be6a
Update bst_convert_sorted_array.py 2023-08-08 15:22:34 -07:00
bt3gl
75bb0277cd
Rename bst_is_balanced.py to bt_is_balanced.py 2023-08-08 15:04:04 -07:00
bt3gl
39922339a3
Update bst_is_balanced.py 2023-08-08 15:03:55 -07:00
bt3gl
f7dc8af9c4
Delete bt_serialization.py 2023-08-08 15:00:00 -07:00
bt3gl
bb47074bdd
Delete bt_find_duplicate_subtrees.py 2023-08-08 14:58:11 -07:00
bt3gl
94de93780a
Update bt_count_unival.py 2023-08-08 14:55:51 -07:00
bt3gl
b61c58b158
Update and rename bt_construction_inorder_postorder.py to bt_construct_inorder_postorder.py 2023-08-08 14:51:08 -07:00
bt3gl
dd98393aa4
Update bt_construct_inorder_preorder.py 2023-08-08 14:47:15 -07:00
bt3gl
e5efd5424a
Update bt_construct_inorder_preorder.py 2023-08-08 14:43:04 -07:00
bt3gl
83fc152596
Update README.md 2023-08-08 14:43:01 -07:00
bt3gl
b91db08a40
Update bt_has_path_sum.py 2023-08-08 14:37:44 -07:00
bt3gl
ff3987dffc
Update bt_postorder.py 2023-08-08 14:32:28 -07:00
bt3gl
15d407b4ef
Update bt_inorder.py 2023-08-08 14:27:07 -07:00
bt3gl
a42c13186c
Update bt_preorder.py 2023-08-08 14:21:03 -07:00
bt3gl
5eba7a1a80
Delete bt_preorder_transversal.py 2023-08-08 14:18:35 -07:00
bt3gl
f7bc342551
Update bt_preorder_transversal.py 2023-08-08 14:18:30 -07:00
bt3gl
ba1a8755f0
Update bt_bfs.py 2023-08-08 14:17:34 -07:00
bt3gl
f1a8659193
Update bt_bfs.py 2023-08-08 14:17:26 -07:00
bt3gl
1044a13ad9
Update bt_bfs.py 2023-08-08 14:16:02 -07:00
bt3gl
95fd556031
Update bt_lowest_common_ancestor.py 2023-08-08 14:11:00 -07:00
bt3gl
f41011e849
Update bt_is_tree_symmetric.py 2023-08-08 13:56:19 -07:00
bt3gl
153e85ca03
Update bt_is_same_trees.py 2023-08-08 13:52:20 -07:00
bt3gl
3606be45c1
Update bt_is_same_trees.py 2023-08-08 13:52:00 -07:00
bt3gl
faeb83a072
Update bt_height.py 2023-08-08 13:49:24 -07:00
bt3gl
ffe28f3d8e
Update README.md 2023-08-08 13:48:50 -07:00
bt3gl
66060486a4
Update bt_height.py 2023-08-08 13:44:06 -07:00
bt3gl
a78436b51b
Update bt_height.py 2023-08-08 13:44:00 -07:00
bt3gl
91cd6134b6
Update bt_find_max_depth.py 2023-08-08 13:42:15 -07:00
bt3gl
b5c71cf3d5
Update bt.py 2023-08-08 13:39:07 -07:00
bt3gl
096185a6e8
Create bt_postorder.py 2023-08-08 13:37:21 -07:00
bt3gl
0e2b6b39b0
Create bt_preorder.py 2023-08-08 13:36:59 -07:00
bt3gl
9486e25675
Create bt_inorder.py 2023-08-08 13:36:28 -07:00
bt3gl
b1a9367ee4
Rename bst_all_subnodes.py to bst_all_subnodes.py 2023-08-08 13:29:07 -07:00
bt3gl
eedb6b6863
Update and rename bst_all_subnodes.py to bst_all_subnodes.py 2023-08-08 13:28:30 -07:00
bt3gl
cd5ac00126
Update README.md 2023-08-08 13:28:00 -07:00
bt3gl
cf170e3d57
Update bt_bfs.py 2023-08-08 13:23:11 -07:00
bt3gl
3e375366ae
Update README.md 2023-08-08 13:19:30 -07:00
marina
5844ecc8bf
Update README.md 2023-08-07 23:12:04 -07:00
marina
f2b423db58
Update README.md 2023-08-07 23:01:42 -07:00
marina
b6faf3956b
Update README.md 2023-08-07 22:37:51 -07:00
marina
f2091f10d2
Update README.md 2023-08-07 22:31:42 -07:00
marina
ff73b28ae7
Delete rotated_array.py 2023-08-07 22:31:10 -07:00
marina
79872f08eb
Update find_pair_nums.py 2023-08-07 22:27:38 -07:00
marina
e25dd1f601
Update README.md 2023-08-07 22:16:22 -07:00
marina
3b3a40d782
Update README.md 2023-08-07 22:15:51 -07:00
marina
c4e0cdc9ff
Update find_peak_element.py 2023-08-07 22:15:42 -07:00
marina
56af227e6e
Update README.md 2023-08-07 21:53:55 -07:00
marina
b52c7e0d03
Update README.md 2023-08-07 21:49:23 -07:00
marina
e63cfe856f
Update sqrt_x.py 2023-08-07 21:49:19 -07:00
marina
855ecff683
Update README.md 2023-08-07 21:47:12 -07:00
marina
e372bbe6f7
Update binary_search.py 2023-08-07 21:47:06 -07:00
marina
8ef56f3b77
Update README.md 2023-08-07 21:21:15 -07:00
marina
fa5bba3881
Update README.md 2023-08-07 21:15:05 -07:00
marina
8857af6e97
Update README.md 2023-08-07 20:55:59 -07:00
marina
35fb490c38
Update seletction_sort.py 2023-08-07 20:38:23 -07:00
marina
1ac9dbd6d5
Update quick_sort.py 2023-08-07 20:38:09 -07:00
marina
ee9384b374
Update quick_sort.py 2023-08-07 20:37:59 -07:00
marina
40a4976c5f
Update random_set.py 2023-08-07 20:31:43 -07:00
marina
6f1dd06515
Update README.md 2023-08-07 20:31:35 -07:00
marina
06e19d394b
Update README.md 2023-08-07 20:31:27 -07:00
marina
813cd4db01
Update README.md 2023-08-07 20:31:01 -07:00
marina
dbcf75bcac
Update README.md 2023-08-07 20:12:57 -07:00
marina
a4fc7156af
Update README.md 2023-08-07 20:05:13 -07:00
marina
8da5fea499
Create queue_list_II.py 2023-08-07 20:05:00 -07:00
marina
7e40ca15da
Update and rename circular_queue_list.py to queue_list.py 2023-08-07 19:59:38 -07:00
marina
5f44f6b89f
Update README.md 2023-08-07 19:37:37 -07:00
marina
af264699b7
Update moving_average.py 2023-08-07 18:57:15 -07:00
marina
db7be11ea0
Update and rename logger_rate_limiter.py to stream_with_rate_limiter.py 2023-08-07 18:53:53 -07:00
marina
2c1df477e2
Update circular_queue_array.py 2023-08-07 18:51:39 -07:00
marina
5ab9d7582a
Delete simple_queue.py 2023-08-07 18:08:30 -07:00
marina
c176257c26
Update README.md 2023-08-07 18:07:35 -07:00
marina
f895ac1da8
Update README.md 2023-08-07 18:07:20 -07:00
marina
18c33edfb0
Update and rename circular_queue_III.py to circular_queue_list.py 2023-08-07 18:06:56 -07:00
marina
ad2c24a519
Delete circular_queue_list.py 2023-08-07 18:06:54 -07:00
marina
afe695c69f
Update and rename circular_queue_II.py to circular_queue_list.py 2023-08-07 18:05:28 -07:00
marina
71ca605489
Update and rename circular_queue.py to circular_queue_array.py 2023-08-07 18:05:15 -07:00
marina
3d361330b7
Update README.md 2023-08-07 18:04:47 -07:00
marina
6ed5cb896b
Update and rename stack_II.py to stack.py 2023-08-07 17:58:03 -07:00
marina
27bc931a53
Update README.md 2023-08-07 17:57:39 -07:00
marina
a8e6ec8884
Update README.md 2023-08-07 17:56:19 -07:00
marina
66a2a3ad3a
Update README.md 2023-08-07 17:54:59 -07:00
marina
f55ce43de3
Delete stack.py 2023-08-07 17:53:19 -07:00
marina
a079cef3d2
Update stack_II.py 2023-08-07 17:52:44 -07:00
marina
975b4d7dbd
Update stack.py 2023-08-07 17:51:46 -07:00
marina
fd439a2d84
Update README.md 2023-08-07 17:47:21 -07:00
marina
87f52134da
Update README.md 2023-08-07 17:46:11 -07:00
marina
60c86f0759
Update README.md 2023-08-07 17:39:51 -07:00
marina
7d89916381
Update README.md 2023-08-07 17:38:59 -07:00
marina
e6b5af60e3
Update README.md 2023-08-07 17:38:41 -07:00
marina
fd291fa48b
Update unique_word_abbreviation.py 2023-08-07 17:38:13 -07:00
marina
b9b5d8e21c
Update and rename str-longest-non-repeating.py to longest_non_repeating.py 2023-08-07 17:36:23 -07:00
marina
e54535ae2b
Update playing_with_strings.py 2023-08-07 17:35:27 -07:00
marina
a37d96b756
Update pivot_index_array.py 2023-08-07 17:35:15 -07:00
marina
a4fe8d519e
Update and rename permutation.py to permutations.py 2023-08-07 17:34:32 -07:00
marina
0b6dbbaa27
Update palindrome.py 2023-08-07 17:33:48 -07:00
marina
250e136166
Update and rename matrix-sum-diagonals.py to matrix_sum_diagonals.py 2023-08-07 17:33:29 -07:00
marina
b14d9fcee2
Update is_anagram.py 2023-08-07 17:31:39 -07:00
marina
2d0842019d
Update intersection_two_arrays.py 2023-08-07 17:31:08 -07:00
marina
2fe4c94c7f
Update check_permutation_strings_is_palindrome.py 2023-08-07 17:29:58 -07:00
marina
b81ccd579b
Update and rename array-remove-duplicate-inplace.py to remove_dups_inplace.py 2023-08-07 17:26:48 -07:00
marina
2f1db3f84e
Update and rename array-move-zeros-inplace.py to move_zeros_inplace.py 2023-08-07 17:26:30 -07:00
marina
86a538032a
Update and rename array-merge-inplace.py to merge_inplace.py 2023-08-07 17:26:09 -07:00
marina
761c1f0670
Update and rename array-duplicate-zeros.py to duplicate_zeros_inplace.py 2023-08-07 17:25:19 -07:00
marina
5c0e0228e6
Update and rename array-check_mountain.py to check_mountain.py 2023-08-07 17:24:20 -07:00
marina
37a25d4423
Rename check-if-exist.py to check_if_exist.py 2023-08-07 17:23:36 -07:00
marina
c73adbc7b8
Rename 3rd-distinct-0n.py to 3rd_distinct_n.py 2023-08-07 17:23:28 -07:00
marina
7e6f0817be
Rename array-check-if-exist.py to check-if-exist.py 2023-08-07 17:23:16 -07:00
marina
cf27a0741e
Rename array-3rd-distinct-0n.py to 3rd-distinct-0n.py 2023-08-07 17:23:01 -07:00
marina
15135b757e
Update array-check-if-exist.py 2023-08-07 17:22:45 -07:00
marina
17f53eb593
Update README.md 2023-08-07 17:10:22 -07:00
marina
6dbd139af1
Update playing_with_math.py 2023-08-07 17:09:47 -07:00
marina
3d8721aaeb
Update pascal_triangle.py 2023-08-07 17:08:53 -07:00
marina
9a820d8599
Update fibonacci.py 2023-08-07 17:05:59 -07:00
marina
5d9313dd85
Update check_sudoku_board.py 2023-08-07 17:05:44 -07:00
marina
3215e25e12
Update check_sudoku_board.py 2023-08-07 17:05:29 -07:00
marina
e1e46e59c8
Update binary_exponentiation.py 2023-08-07 17:05:08 -07:00
marina
d61684057c
Update README.md 2023-08-07 17:00:38 -07:00
marina
e84d63ff68
Update README.md 2023-08-07 16:59:09 -07:00
marina
0aa2a467e1
Update README.md 2023-08-07 16:58:22 -07:00
marina
d407a66536
Update README.md 2023-08-07 16:58:11 -07:00
marina
4ed4ef89c6
Update README.md 2023-08-07 16:57:28 -07:00
marina
56c0e95516
Update climbing_stairs.py 2023-08-07 16:56:28 -07:00
marina
784b8a8698
Update climbing_stairs.py 2023-08-07 16:55:25 -07:00
marina
bce645eb9e
Update README.md 2023-08-07 16:55:23 -07:00
marina
6b3923e32c
Update and rename all_subnotes_bst.py to bst_all_subnodes.py 2023-08-07 16:53:25 -07:00
marina
aca9429097
Update README.md 2023-08-07 16:51:23 -07:00
marina
2861501448
Update hash_set_bst.py 2023-08-07 16:47:56 -07:00
marina
240d008647
Update README.md 2023-08-07 16:47:45 -07:00
marina
2f8af300a6
Update hash_set_linked_list.py 2023-08-07 16:45:02 -07:00
marina
178b3aea34
Update hash_set_bst.py 2023-08-07 16:44:51 -07:00
marina
e65d65d6eb
Update hash_map_array.py 2023-08-07 16:44:39 -07:00
marina
00dada5ff3
Update README.md 2023-08-07 16:44:10 -07:00
marina
95f73c5771
Update hash_set_linked_list.py 2023-08-07 16:42:22 -07:00
marina
d1e0aa2a52
Update README.md 2023-08-07 16:41:00 -07:00
marina
38f6c1491a
Update README.md 2023-08-07 16:39:43 -07:00
marina
dd2462222f
Update hash_set_bst.py 2023-08-07 16:39:20 -07:00
marina
0f92fc245c
Update hash_map_array.py 2023-08-07 16:37:51 -07:00
marina
e01b5b5e2a
Update hash_map_array.py 2023-08-07 16:35:36 -07:00
marina
85f1f87c8d
Update flatten_list.py 2023-08-07 16:22:14 -07:00
marina
ea12ccce74
Update README.md 2023-08-07 16:21:59 -07:00
marina
0389271f6b
Update remove_kth_node.py 2023-08-07 16:17:11 -07:00
marina
d8d1887a85
Update rotate_list_by_k.py 2023-08-07 16:13:15 -07:00
marina
f6e853a5ab
Update detect_cycle_II.py 2023-08-07 15:56:27 -07:00
marina
544caafaa3
Update detect_cycle.py 2023-08-07 15:56:18 -07:00
marina
8b3feb691e
Update README.md 2023-08-07 15:56:04 -07:00
marina
69d068678b
Update swap_every_two_nodes.py 2023-08-07 15:54:37 -07:00
marina
93c18361f3
Update doubly_linked_list.py 2023-08-07 15:52:35 -07:00
marina
4a03488022
Update add_two_numbers.py 2023-08-07 15:51:56 -07:00
marina
60b5ec4a88
Update reverse_linked_list_II.py 2023-08-07 15:51:00 -07:00
marina
b16196e810
Update reverse_linked_list_II.py 2023-08-07 15:50:35 -07:00
marina
3024f285e5
Update merge_two_lists.py 2023-08-07 15:48:48 -07:00
marina
8d8b3f7e53
Update linked_list_fifo.py 2023-08-07 15:48:20 -07:00
marina
08a29ececf
Update finding_intersection.py 2023-08-07 15:47:08 -07:00
marina
e06d9fbbf6
Update doubly_linked_list_II.py 2023-08-07 15:46:38 -07:00
marina
1c51827e08
Update detect_cycle_II.py 2023-08-07 15:45:14 -07:00
marina
907bf738ec
Create bfs.py 2023-08-06 17:08:35 -07:00
marina
35c888571e
Create dfs.py 2023-08-06 17:06:38 -07:00
marina
e333844d4d
Create heap.py 2023-08-06 17:04:12 -07:00
marina
e80361656e
Update README.md 2023-08-06 11:30:19 -07:00
marina
18a5fbd75c
Update README.md 2023-08-04 18:47:47 -07:00
marina
a2f5521bd3
Update README.md 2023-08-03 20:31:19 -07:00
marina
0e5c36f426
Update README.md 2023-08-03 20:09:21 -07:00
marina
b7475a8481
Update README.md 2023-08-03 19:38:36 -07:00
marina
cd2e4557dc
Create bt_is_same_trees.py 2023-08-03 19:36:17 -07:00
marina
390316781e
Rename bs_find_pair_nums.py to find_pair_nums.py 2023-08-03 19:34:33 -07:00
marina
7da5b84f60
Rename bs_rotated_array.py to rotated_array.py 2023-08-03 19:34:22 -07:00
marina
1821dd41e0
Create bs_find_pair_nums.py 2023-08-03 19:34:04 -07:00
marina
74f6ef2913
Delete bs_find_pair_nums.py 2023-08-03 19:34:00 -07:00
marina
d7280726ad
Create rotate_list_by_k.py 2023-08-03 18:53:47 -07:00
marina
18389003c4
Create flatten_list.py 2023-08-03 18:06:53 -07:00
marina
86d533c4bf
Create trie_find_height.py 2023-08-03 17:04:33 -07:00
marina
feb21289db
Create trie_bfs.py 2023-08-03 16:59:19 -07:00
marina
c041716806
Create trie_postorder.py 2023-08-03 16:56:05 -07:00
marina
141a6b5944
Create trie_preorder.py 2023-08-03 16:53:01 -07:00
marina
e95aa5a731
Create map_sum.py 2023-08-03 16:39:19 -07:00
marina
faf6e7321e
Update README.md 2023-08-03 16:32:11 -07:00
marina
fb6507ce38
Update README.md 2023-08-03 16:29:43 -07:00
marina
39262bfbe4
add trie class 2023-08-03 16:24:41 -07:00
marina
05ffc6e0b7
Create trie.py 2023-08-03 16:24:22 -07:00
marina
eb7a7af574
Create bst_convert_sorted_array.py 2023-08-03 16:05:01 -07:00
marina
072febeb9c
Update README.md 2023-08-03 16:02:59 -07:00
marina
50c188a88c
notes on balanced 2023-08-03 15:56:35 -07:00
marina
817cbb57a2
Create bst_is_balanced.py 2023-08-03 15:55:38 -07:00
marina
177914c7be
add note on height 2023-08-03 15:50:59 -07:00
marina
46b4f11520
Create bt_height.py 2023-08-03 15:50:27 -07:00
marina
75eb7e2dd9
Update README.md 2023-08-03 15:39:36 -07:00
marina
50436468d3
add avl tree class 2023-08-03 15:37:11 -07:00
marina
270783268c
add notes on lca 2023-08-03 15:26:48 -07:00
marina
fab5bed80f
Create bst_lowest_common_ancestor.py 2023-08-03 15:26:35 -07:00
marina
e3e5e4bf35
Update README.md 2023-08-03 14:28:06 -07:00
marina
15e4b6068c
Update README.md 2023-08-03 14:25:22 -07:00
marina
5c2393dc07
add delete node info 2023-08-03 14:23:25 -07:00
marina
0c05504ae1
Create bst_delete_node.py 2023-08-03 14:23:13 -07:00
marina
e1a2904cfe
Create bst_pre_sucessor.py 2023-08-03 13:56:53 -07:00
marina
2fe870650b
add notes on bst 2023-08-03 13:52:49 -07:00
marina
8e8f934d12
Create bst_insert_node.py 2023-08-03 13:47:22 -07:00
marina
fb8081ae42
Update bst_search.py 2023-08-03 13:31:57 -07:00
marina
419eeee0dc
Create bst_search.py 2023-08-03 13:22:06 -07:00
marina
169d2197c9
Rename binary_tree.py to bt.py 2023-08-03 13:20:49 -07:00
marina
070071e687
Update and rename tree_bfs.py to bt_bfs.py 2023-08-03 13:20:29 -07:00
marina
9d1aa92451
Rename tree_serialization.py to bt_serialization.py 2023-08-03 13:20:09 -07:00
marina
919111cd22
Rename sum_2_numbers_with_bs.py to bs_find_pair_nums.py 2023-08-03 13:19:59 -07:00
marina
4aba894c46
Rename simple_tree.py to bt_simple.py 2023-08-03 13:19:35 -07:00
marina
84b35ceaf3
Update and rename preorder_transversal.py to bt_preorder_transversal.py 2023-08-03 13:18:57 -07:00
marina
7520042ef9
Update and rename lowest_common_ancestor.py to bt_lowest_common_ancestor.py 2023-08-03 13:18:31 -07:00
marina
ca5c15c9b6
Rename is_valid_bst.py to bst_is_valid.py 2023-08-03 13:17:57 -07:00
marina
7d6d6189e5
Update and rename is_tree_symmetric.py to bt_is_tree_symmetric.py 2023-08-03 13:17:44 -07:00
marina
5159d766d9
Update and rename has_path_sum.py to bt_has_path_sum.py 2023-08-03 13:17:12 -07:00
marina
e7284b27e2
Update bt_find_max_depth.py 2023-08-03 13:16:54 -07:00
marina
a0b0090f8a
Update and rename find_max_depth_tree.py to bt_find_max_depth.py 2023-08-03 13:16:41 -07:00
marina
e0d9624032
Rename find_inorder_successor.py to bst_find_inorder_successor.py 2023-08-03 13:16:23 -07:00
marina
57075bd388
Update and rename find_duplicate_subtrees.py to bt_find_duplicate_subtrees.py 2023-08-03 13:16:07 -07:00
marina
0871054dd3
Rename count_unival.py to bt_count_unival.py 2023-08-03 13:15:34 -07:00
marina
5b67529485
Rename construct_bt_inorder_preorder.py to bt_construct_inorder_preorder.py 2023-08-03 13:15:19 -07:00
marina
9cfd35035a
Update and rename construct_tree_inorder_preorder.py to construct_bt_inorder_preorder.py 2023-08-03 13:14:55 -07:00
marina
753ce86ad2
Rename construct_tree_inorder_postorder.py to bt_construction_inorder_postorder.py 2023-08-03 13:14:17 -07:00
marina
1a9f793b21
Rename bst.py to binary_tree.py 2023-08-03 13:13:51 -07:00
marina
51e6497cef
Update bst.py 2023-08-03 13:13:18 -07:00
marina
a2dce9493e
Create bst_inorder_iterator.py 2023-08-03 13:10:38 -07:00
marina
abbad25ed8
Create find_inorder_successor.py 2023-08-03 13:01:04 -07:00
marina
3d8bf7d339
add notes on bst 2023-08-03 12:40:33 -07:00
marina
b69bc7db19
Create is_valid_bst.py 2023-08-03 12:38:44 -07:00
marina
4475910493
Rename SimpleTree.py to simple_tree.py 2023-08-03 11:08:12 -07:00
marina
ff1a7e5d51
Rename BinaryTree.py to bst.py 2023-08-03 11:08:01 -07:00
marina
5b38a549a7
Update seletction_sort.py 2023-08-02 23:42:21 -07:00
marina
1f23338150
Update insertion_sort.py 2023-08-02 23:41:46 -07:00
marina
bcc9398a27
Update counting_sort.py 2023-08-02 23:41:18 -07:00
marina
02c26f8d8a
Update bucket_sort.py 2023-08-02 23:40:13 -07:00
marina
d357be4e52
Update bubble_sort.py 2023-08-02 23:39:04 -07:00
marina
2e7f4a9410
Update README.md 2023-08-02 22:13:16 -07:00
marina
7bc4115287
Create delete_node_without_head.py 2023-08-02 21:29:02 -07:00
marina
d3143cc5fb
Update README.md 2023-08-02 21:14:00 -07:00
marina
908352604b
Update README.md 2023-08-02 21:00:21 -07:00
marina
0ba5a05762
quick_sort.py 2023-08-02 20:57:44 -07:00
marina
96607ab5e2
Update README.md 2023-08-02 20:57:18 -07:00
marina
e7995a9461
Update README.md 2023-08-02 20:57:05 -07:00
marina
c3e12c40a4
Create merge_sort.py 2023-08-02 20:56:55 -07:00
marina
384b79adf8
Create bucket_sort.py 2023-08-02 20:56:20 -07:00
marina
4d2e7857b2
Create counting_sort.py 2023-08-02 20:55:05 -07:00
marina
28d28b817e
Create insertion_sort.py 2023-08-02 20:54:05 -07:00
marina
52cba3f861
Create bubble_sort.py 2023-08-02 20:53:18 -07:00
marina
e1805c9fb5
Create seletction_sort.py 2023-08-02 20:52:30 -07:00
marina
b068e60212
Create add_two_numbers.py 2023-08-02 20:37:09 -07:00
marina
e5c9084b64
Create group_odd_and_even.py 2023-08-02 19:19:54 -07:00
marina
e085d74110
Update detect_cycle.py 2023-08-02 19:19:38 -07:00
marina
3d5ed34eab
Update README.md 2023-08-02 19:14:44 -07:00
marina
0ea70e2122
Update README.md 2023-08-02 19:11:01 -07:00
marina
57ddd32859
Update remove_elements.py 2023-08-02 19:10:37 -07:00
marina
2c1c7c0ff7
Create remove_elements.py 2023-08-02 19:10:26 -07:00
marina
fb7059d0e6
Update README.md 2023-08-02 18:42:48 -07:00
marina
fd5bbaee8d
Update README.md 2023-08-02 18:40:43 -07:00
marina
f567a5a594
Update README.md 2023-08-02 18:40:27 -07:00
marina
7d62415e5f
Update README.md 2023-08-02 18:40:15 -07:00
marina
98ece41e3b
Update README.md 2023-08-02 18:39:45 -07:00
marina
4a762cf606
Update README.md 2023-08-02 18:39:23 -07:00
marina
50409a0e85
Update README.md 2023-08-02 18:38:43 -07:00
marina
9441428acf
Update README.md 2023-08-02 18:37:49 -07:00
marina
5ea9c0bbbf
Update README.md 2023-08-02 18:37:14 -07:00
marina
79fc85b28d
Create doubly_linked_list_II.py 2023-08-02 18:34:17 -07:00
marina
f5a30a6176
Update and rename double_linked_list.py to doubly_linked_list.py 2023-08-02 18:24:28 -07:00
marina
82ac14af5d
add notes on reversing 2023-08-02 18:17:34 -07:00
marina
397402f144
Create reverse_linked_list_II.py 2023-08-02 18:13:43 -07:00
marina
c004a953a9
Update reverse_linked_list.py 2023-08-02 17:49:22 -07:00
marina
17ca5877bf
Update README.md 2023-08-02 17:48:09 -07:00
marina
31c7cc4654
Create remove_kth_node.py 2023-08-02 17:46:34 -07:00
marina
eb36c2249d
Create finding_intersection.py 2023-08-02 17:14:46 -07:00
marina
654bb8c76f
Create detect_cycle_II.py 2023-08-02 17:06:05 -07:00
marina
5eaeb66493
Update linked_list_II.py 2023-08-02 16:41:10 -07:00
marina
5ea3de0fc9
Update linked_list_II.py 2023-08-02 16:40:59 -07:00
marina
67656b197d
Update detect_cycle.py 2023-08-02 16:40:19 -07:00
marina
4e82aa6060
Create detect_cycle.py 2023-08-02 16:39:40 -07:00
marina
94db93ff42
Create linked_list_II.py 2023-08-02 16:31:26 -07:00
marina
296c30779b
Create median_from_stream.py 2023-08-02 14:56:16 -07:00
marina
8509c2f7a1
Create free_rooms.py 2023-08-02 14:30:48 -07:00
marina
4ce3ef0daa
Create k_smallest_matrix.py 2023-08-02 14:21:59 -07:00
marina
586803c39b
Create largest_k_matrix.py 2023-08-02 14:17:23 -07:00
marina
2ac7e9a678
Update compare_2_tops.py 2023-08-02 14:16:12 -07:00
marina
25054eabb1
Create compare_2_tops.py 2023-08-02 14:05:23 -07:00
marina
d6fedcee53
Create k_element_stream.py 2023-08-02 13:56:52 -07:00
marina
3eb6a7c828
Update README.md 2023-08-02 13:52:45 -07:00
marina
c04d598bfa
Update README.md 2023-08-02 13:52:15 -07:00
marina
29b7948275
Update README.md 2023-08-02 13:51:00 -07:00
marina
b53b78285d
Update README.md 2023-08-02 13:40:47 -07:00
marina
f7779dc6e3
Create heap_sort.py 2023-08-02 13:32:18 -07:00
marina
4caa1fe7f4
Update README.md 2023-08-02 13:31:19 -07:00
marina
07f6564fe6
add notes on heapify 2023-08-02 13:26:08 -07:00
marina
179bbd568e
Update README.md 2023-08-02 13:06:21 -07:00
marina
0588483a19
Update heapify.py 2023-08-02 13:05:42 -07:00
marina
8f4fc49e7a
Update README.md 2023-08-02 13:03:15 -07:00
marina
f595c7b2cf
Update heapify.py 2023-08-02 13:01:14 -07:00
marina
e8882c2da0
Create heapify.py 2023-08-02 12:59:18 -07:00
marina
cf0a3cd358
Update README.md 2023-08-02 12:28:54 -07:00
marina
041e403d46
Update README.md 2023-08-02 12:28:39 -07:00
marina
f5b741f0c4
Update README.md 2023-08-02 12:28:32 -07:00
marina
e47e3241b8
add code for max and min heap 2023-08-02 12:01:57 -07:00
marina
5a3aaf58e3
Create max_heap.py 2023-08-02 12:01:30 -07:00
marina
d27d42a800
Create min_heap.py 2023-08-02 11:57:10 -07:00
marina
b38403f6de
Update README.md 2023-08-01 20:43:48 -07:00
marina
52bf99bd0f
Update README.md 2023-08-01 19:36:59 -07:00
marina
1ddc83c1ff
Create stack_II.py 2023-08-01 18:20:59 -07:00
marina
e0d4dd2066
Create matrix_dfs_and_bfs.py 2023-08-01 16:20:00 -07:00
marina
4530fcce5c
Rename tree_level_traversal.py to tree_bfs.py 2023-08-01 15:21:59 -07:00
marina
00d8c462bf
Create matrix_bfs.py 2023-08-01 15:21:20 -07:00
marina
543e2d7d29
add ll and array example 2023-08-01 14:58:37 -07:00
marina
743f091905
my favorite implementation 2023-08-01 14:56:03 -07:00
marina
eb45cdd938
Update README.md 2023-08-01 14:51:34 -07:00
marina
fb971d112c
add bfs and dfs 2023-08-01 14:49:29 -07:00
marina
3f8f299f37
add bfs and dft 2023-08-01 14:48:46 -07:00
marina
1295041070
Update circular_queue_II.py 2023-08-01 14:46:05 -07:00
marina
969435d08f
Update README.md 2023-08-01 14:44:37 -07:00
marina
d4e17ad741
Update circular_queue.py 2023-08-01 14:42:23 -07:00
marina
84a9c9fb9d
Rename queue.py to simple_queue.py 2023-08-01 14:40:39 -07:00
marina
04cd4a4b7b
Update circular_queue_II.py 2023-08-01 14:40:02 -07:00
marina
0bc7deb3af
Update README.md 2023-07-31 18:48:02 -07:00
marina
0cd3198d05
add note on 2d arrays 2023-07-31 18:20:46 -07:00
marina
8c631c5cd0
Create return_matrix_in_spiral.py 2023-07-31 17:36:30 -07:00
marina
b467dca561
Create pivot_index_array.py 2023-07-31 16:32:41 -07:00
marina
0963a43bcc
Update README.md 2023-07-31 16:18:44 -07:00
marina
649a881647
Create find_minimum_rotated_array.py 2023-07-31 16:09:47 -07:00
marina
06f3c4dd1e
Create find_peak_element.py 2023-07-31 15:57:30 -07:00
marina
d0bbfed0e5
Update bs_rotated_array.py 2023-07-31 15:42:22 -07:00
marina
5456593be9
Update binary_search.py 2023-07-31 15:41:56 -07:00
marina
a449abf709
Create bs_rotated_array.py 2023-07-31 15:39:08 -07:00
marina
2626cec18a
Create sqrt_x.py 2023-07-31 15:10:15 -07:00
marina
398c10877c
Update binary_search.py 2023-07-31 14:59:00 -07:00
marina
2396654457
Update binary_search.py 2023-07-31 14:58:10 -07:00
marina
afdff04a69
Create all_subnotes_bst.py 2023-07-31 14:00:52 -07:00
marina
40c0dd37dd
Create merge_two_lists.py 2023-07-31 13:44:12 -07:00
marina
914d1eda87
add note on stack overflow 2023-07-31 13:36:48 -07:00
marina
65615f2f05
Create binary_exponentiation.py 2023-07-31 13:35:08 -07:00
marina
48d1683be5
Update README.md 2023-07-31 13:27:44 -07:00
marina
16d09b5b0d
Update README.md 2023-07-31 13:05:44 -07:00
marina
78f2ab992e
add memoization 2023-07-31 12:50:59 -07:00
marina
e15c16c55b
Create pascal_triangle.py 2023-07-31 12:46:59 -07:00
marina
614f985f1a
Create reverse_linked_list.py 2023-07-31 12:21:30 -07:00
marina
40034ce8bd
Rename linked_list-double.py to double_linked_list.py 2023-07-31 12:00:43 -07:00
marina
84f2a8fe94
Create swap_every_two_nodes.py 2023-07-31 12:00:18 -07:00
marina
eb7bc74843
Rename LinkedListFIFO.py to linked_list_fifo.py 2023-07-31 11:59:00 -07:00
marina
c2799fec3a
Update random_set.py 2023-07-31 10:54:14 -07:00
marina
a853cb34c5
Update README.md 2023-07-31 10:54:00 -07:00
marina
50878d0b85
Create random_set.py 2023-07-31 10:50:05 -07:00
marina
a50bbdf518
Update README.md 2023-07-31 10:49:35 -07:00
marina
1202f248cf
Rename Stack.py to stack.py 2023-07-31 10:11:16 -07:00
marina
06b74ecc34
Update README.md 2023-07-31 10:10:33 -07:00
marina
8f9fc12b05
Create README.md 2023-07-31 10:09:54 -07:00
marina
1fd4595e92
Update README.md 2023-07-31 09:07:52 -07:00
Marina S
a7864edb7f
Update README.md 2023-07-30 21:48:58 -07:00
Marina S
b66625f149
Update README.md 2023-07-30 21:48:33 -07:00
Marina S
06d7a6633e
Update README.md 2023-07-30 21:48:15 -07:00
Marina S
166afb1ce1
Update README.md 2023-07-30 21:47:39 -07:00
Marina S
f39587af7f
Update README.md 2023-07-30 21:47:10 -07:00
Marina S
a1b611ac72
Update README.md 2023-07-30 21:46:57 -07:00
Marina S
9f532c9b01
Update README.md 2023-07-30 21:46:16 -07:00
Marina S
16a1b8b501
Update README.md 2023-07-30 21:46:09 -07:00
Marina S
7fdb76fce8
Create README.md 2023-07-30 21:45:52 -07:00
Marina S
321ef3b254
Create README.md 2023-07-30 21:45:39 -07:00
Marina S
d94f45a59a
Rename Queue.py to queue.py 2023-07-30 21:45:28 -07:00
Marina S
8978a8b74c
Create README.md 2023-07-30 21:45:11 -07:00
Marina S
913a26b906
Update README.md 2023-07-30 21:44:51 -07:00
Marina S
da47a56961
Update README.md 2023-07-30 21:44:16 -07:00
Marina S
cdfd761d87
Create README.md 2023-07-30 21:43:36 -07:00
Marina S
f5490128cd
Update README.md 2023-07-30 21:43:03 -07:00
Marina S
22adc6f880
Create README.md 2023-07-30 21:42:46 -07:00
Marina S
c17c348eed
Create README.md 2023-07-30 21:42:25 -07:00
Marina S
0033b2ee00
Update README.md 2023-07-30 21:41:52 -07:00
Marina S
0a2c958014
Create README.md 2023-07-30 21:41:11 -07:00
bt3gl
a85ed914d3 👾 2023-07-30 21:40:09 -07:00
Marina S
1d44d182e2
Update README.md 2023-07-30 21:39:27 -07:00
Marina S
696c045a16
Create unique_word_abbreviation.py 2023-07-30 20:22:30 -07:00
Marina S
0ad1ab44be
Rename anagram.py to is_anagram.py 2023-07-30 20:21:03 -07:00
Marina S
f4e431412e
Create top_k_frequent_heap.py 2023-07-30 19:43:59 -07:00
bt3gl
fa7c3cde66
Update README.md 2023-07-30 17:57:20 -07:00
bt3gl
ec9ccd5dfd
Update README.md 2023-07-30 17:53:18 -07:00
bt3gl
402b6d3cf8
Create find_duplicate_subtrees.py 2023-07-30 17:49:12 -07:00
bt3gl
2e37835477
Update check_sudoku_board.py 2023-07-30 17:33:00 -07:00
bt3gl
d982849688
Create check_sudoku_board.py 2023-07-30 17:32:38 -07:00
bt3gl
0ae7126e96
Create logger_rate_limiter.py 2023-07-30 16:48:52 -07:00
bt3gl
fcdf1422ac
Update README.md 2023-07-30 16:13:15 -07:00
bt3gl
a9127ff3fc
Update moving_average.py 2023-07-30 15:58:36 -07:00
bt3gl
50ba4aaed4
Update circular_queue_II.py 2023-07-30 15:58:30 -07:00
bt3gl
03a836ca53
Update circular_queue.py 2023-07-30 15:58:20 -07:00
bt3gl
cd0575f81e
Update binary_search.py 2023-07-30 15:58:03 -07:00
bt3gl
e4bfc72334
Update playing_with_math.py 2023-07-30 15:57:50 -07:00
bt3gl
e522443df1
Update happy_number.py 2023-07-30 15:57:44 -07:00
bt3gl
cf32f0112c
Update climbing_stairs.py 2023-07-30 15:57:34 -07:00
bt3gl
45a3a9b050
Update linked_list-double.py 2023-07-30 15:57:23 -07:00
bt3gl
805e80144d
Update sum_with_bitwise.py 2023-07-30 15:57:08 -07:00
bt3gl
3fbab4d88f
Update reverse_bits.py 2023-07-30 15:57:01 -07:00
bt3gl
e85b88725f
Update count_1s.py 2023-07-30 15:56:51 -07:00
bt3gl
818626f205
Update convert_to_hex.py 2023-07-30 15:56:44 -07:00
bt3gl
c87740bc66
Update convert_any_base.py 2023-07-30 15:56:37 -07:00
bt3gl
737898f55d
Update two_sums.py 2023-07-30 15:56:20 -07:00
bt3gl
bed6d221fd
Update str-longest-non-repeating.py 2023-07-30 15:56:13 -07:00
bt3gl
72c11a1b44
Update matrix-sum-diagonals.py 2023-07-30 15:56:00 -07:00
bt3gl
f374afd0c7
Update is_isomorphic.py 2023-07-30 15:55:48 -07:00
bt3gl
7a44401e4c
Update intersection_two_arrays.py 2023-07-30 15:55:34 -07:00
bt3gl
1d556cfd04
Update hash_set_linked_list.py 2023-07-30 15:55:26 -07:00
bt3gl
0013f69950
Update hash_set_bst.py 2023-07-30 15:55:05 -07:00
bt3gl
cd9326891f
Update hash_map_array.py 2023-07-30 15:54:57 -07:00
bt3gl
e6f990cab6
Update check_permutation_strings_is_palindrome.py 2023-07-30 15:54:47 -07:00
bt3gl
158eb74e76
Update array-remove-duplicate-inplace.py 2023-07-30 15:54:41 -07:00
bt3gl
3b218fae01
Update array-move-zeros-inplace.py 2023-07-30 15:54:34 -07:00
bt3gl
e96bf43463
Update array-merge-inplace.py 2023-07-30 15:54:27 -07:00
bt3gl
153b111e09
Update array-duplicate-zeros.py 2023-07-30 15:54:21 -07:00
bt3gl
896aaaf88f
Update array-check_mountain.py 2023-07-30 15:54:14 -07:00
bt3gl
0672ae9a3a
Update array-check-if-exist.py 2023-07-30 15:54:07 -07:00
bt3gl
79f1970f2e
Update array-3rd-distinct-0n.py 2023-07-30 15:54:00 -07:00
bt3gl
f519830497
Update tree_serialization.py 2023-07-30 15:53:25 -07:00
bt3gl
efd9f72f84
Update tree_level_traversal.py 2023-07-30 15:53:18 -07:00
bt3gl
24b38f0d5b
Update sum_2_numbers_with_bs.py 2023-07-30 15:53:08 -07:00
bt3gl
092700f566
Update preorder_transversal.py 2023-07-30 15:52:59 -07:00
bt3gl
35b14ddfde
Update lowest_common_ancestor.py 2023-07-30 15:52:52 -07:00
bt3gl
d5089d5b0e
Update is_tree_symmetric.py 2023-07-30 15:52:35 -07:00
bt3gl
93c8e2abf7
Update has_path_sum.py 2023-07-30 15:52:27 -07:00
bt3gl
f6477288e1
Update find_max_depth_tree.py 2023-07-30 15:52:19 -07:00
bt3gl
6ed9a5376b
Update dijkstra_adj_matrix.py 2023-07-30 15:52:12 -07:00
bt3gl
cd4d8dea44
Update count_unival.py 2023-07-30 15:52:05 -07:00
bt3gl
e7d855b99e
Update construct_tree_inorder_preorder.py 2023-07-30 15:51:57 -07:00
bt3gl
38cbe1c55b
Update construct_tree_inorder_postorder.py 2023-07-30 15:51:43 -07:00
bt3gl
0526bb7aee
Rename Trees.py to SimpleTree.py 2023-07-30 15:50:34 -07:00
bt3gl
23881f329f
Create intersection_two_arrays.py 2023-07-30 15:38:07 -07:00
bt3gl
f2418e56c1
Create is_isomorphic.py 2023-07-30 14:13:02 -07:00
bt3gl
bc0d591be1
Create two_sums.py 2023-07-30 13:56:04 -07:00
bt3gl
48ce09742e
Create happy_number.py 2023-07-30 13:04:04 -07:00
bt3gl
8d6fac8dc9
Create check_permutation_strings_is_palindrome.py 2023-07-30 12:39:53 -07:00
bt3gl
e428fb1d50
Create str-longest-non-repeating.py 2023-07-30 12:39:24 -07:00
bt3gl
3bbe283cd7
Update climbing_stairs.py 2023-07-30 12:38:49 -07:00
bt3gl
50e749dcc2
Delete str-longest-non-repeating.py 2023-07-30 12:35:42 -07:00
bt3gl
16359103a9
Delete check_permutation_strings_is_palindrome.py 2023-07-30 12:34:49 -07:00
bt3gl
0ed8794fda
Update array-3rd-distinct-0n.py 2023-07-30 12:34:01 -07:00
bt3gl
6dc689f3a0
Update hash_map_array.py 2023-07-30 12:26:33 -07:00
bt3gl
606784af38
Create hash_map_array.py 2023-07-30 12:23:34 -07:00
bt3gl
1f174755c9
Update README.md 2023-07-30 12:22:54 -07:00
bt3gl
7f7d1bdf24
Create hash_set_bst.py 2023-07-30 11:57:17 -07:00
bt3gl
918a38bc9e
Create hash_set_linked_list.py 2023-07-30 11:47:08 -07:00
Marina
df0c4465f2
Update README.md 2023-07-30 11:04:32 -07:00
Marina
185bbbc341
Update README.md 2023-07-30 11:04:07 -07:00
Marina
ef2a1cf18c
Update README.md 2023-07-30 10:18:00 -07:00
bt3gl
47085d5d94
Update README.md 2023-07-29 21:24:56 -07:00
bt3gl
483e7c1805
Update README.md 2023-07-29 21:20:39 -07:00
bt3gl
abc3e2abf8
Update README.md 2023-07-29 21:08:20 -07:00
bt3gl
90ef21f8be
Update README.md 2023-07-29 21:03:50 -07:00
bt3gl
24df4c93d7
Update README.md 2023-07-29 21:00:47 -07:00
bt3gl
f0c936fe6c
Update README.md 2023-07-29 20:59:35 -07:00
bt3gl
16f0dff34e
Update README.md 2023-07-29 20:49:45 -07:00
bt3gl
93b3587bca
Update README.md 2023-07-29 20:48:55 -07:00
bt3gl
2d481f78b0
play with dijkstra 2023-07-29 20:43:32 -07:00
bt3gl
690d8bd706
Update README.md 2023-07-29 20:38:33 -07:00
bt3gl
937183da0c
Update README.md 2023-07-29 20:34:26 -07:00
bt3gl
8a30000724
Add files via upload 2023-07-29 20:30:18 -07:00
bt3gl
132a5700c4
Update README.md 2023-07-29 20:30:08 -07:00
bt3gl
621f32f4aa
Update README.md 2023-07-29 20:28:00 -07:00
bt3gl
006074a1c7
Add files via upload 2023-07-29 20:25:23 -07:00
bt3gl
cf5bcd8020
Add files via upload 2023-07-29 20:24:59 -07:00
bt3gl
06722c4871
playing with linked lists 2023-07-29 20:23:51 -07:00
bt3gl
465e840600
Update README.md 2023-07-29 20:22:59 -07:00
bt3gl
c1949996e4
play with dijkstra 2023-07-29 20:19:22 -07:00
bt3gl
4b22537ee7
play with bits 2023-07-29 20:18:30 -07:00
bt3gl
c77eb0dd00
Update README.md 2023-07-29 20:17:31 -07:00
bt3gl
f0f0be2375
Update README.md 2023-07-29 18:19:08 -07:00
bt3gl
dcaef97146
Update README.md 2023-07-29 18:14:15 -07:00
bt3gl
bd0a4c9ee3
Create tree_serialization.py 2023-07-29 18:11:41 -07:00
bt3gl
f32e58cc68
Update README.md 2023-07-29 18:01:16 -07:00
bt3gl
84d1bf598d
Update README.md 2023-07-29 17:52:50 -07:00
bt3gl
9e938fa336
Update tree_level_traversal.py 2023-07-29 17:45:56 -07:00
bt3gl
c64f3318f8
Update lowest_common_ancestor.py 2023-07-29 17:45:13 -07:00
bt3gl
da0f3fd5d8
Create lowest_common_ancestor.py 2023-07-29 17:41:24 -07:00
bt3gl
bfeb0bf97c
Create construct_tree_inorder_preorder.py 2023-07-29 16:13:26 -07:00
bt3gl
cf4a797646
Rename construct_tree.py to construct_tree_inorder_postorder.py 2023-07-29 15:49:48 -07:00
bt3gl
135c6bd58a
Create construct_tree.py 2023-07-29 15:49:16 -07:00
bt3gl
5ec8587911
Update README.md 2023-07-29 15:37:01 -07:00
bt3gl
ea039f5514
Create count_unival.py 2023-07-29 15:03:42 -07:00
bt3gl
bb72bab679
add some fun tree playing 2023-07-29 14:28:17 -07:00
bt3gl
48720ada4d
Update README.md 2023-07-29 14:28:02 -07:00
Marina S
1caaed58a1
dp 2023-07-29 11:13:47 -07:00
Marina S
bfcfec83b6
math, logic, dynamic programming 2023-07-29 11:13:29 -07:00
Marina S
ad4b836800
Rename README.md to README.md 2023-07-29 11:13:04 -07:00
Marina S
cdae9ca4f7
Rename playing_with_math.py to playing_with_math.py 2023-07-29 11:12:51 -07:00
Marina S
8a8884839d
Rename fibonacci.py to fibonacci.py 2023-07-29 11:12:39 -07:00
Marina S
2654ba1a75
add some dynamic programming 2023-07-29 11:12:10 -07:00
Marina S
5a07abce93
add some dynamic programming 2023-07-29 11:11:45 -07:00
Marina S
769129ecae
playing with strs 2023-07-29 11:10:59 -07:00
Marina S
5c55b81641
add some array playing 2023-07-29 11:08:44 -07:00
Dr. Marina Souza, PhD
5732cfcc61
Fun day, but i miss rust already 😅 (#36) 2023-07-16 18:30:04 -07:00
Dr. Marina Souza, PhD
0f455a0322
Add some cool queue, stacks, strings, math, bit manipulation examples (#35) 2023-07-16 17:35:14 -07:00
Dr. Marina Souza, PhD
f3ee2cdf52
Add trees, binary trees, bst, transversals (#34) 2023-07-16 15:21:40 -07:00
dependabot[bot]
5af08f7498
Bump sqlalchemy from 0.9.7 to 1.3.0 in /book/ebook_src (#33)
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 0.9.7 to 1.3.0.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

---
updated-dependencies:
- dependency-name: sqlalchemy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-15 22:07:15 -07:00
steinkirch.eth, phd
ea7a3fdfbb start refactor 2023-07-15 21:57:39 -07:00
dependabot[bot]
8a9868fe7d
Bump flask from 1.0 to 2.2.5 in /book (#30)
Bumps [flask](https://github.com/pallets/flask) from 1.0 to 2.2.5.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/1.0...2.2.5)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 14:10:20 -07:00
dependabot[bot]
8e4f1f5f4f
Bump scipy from 0.12.1 to 1.10.0 (#31)
Bumps [scipy](https://github.com/scipy/scipy) from 0.12.1 to 1.10.0.
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](https://github.com/scipy/scipy/compare/v0.12.1...v1.10.0)

---
updated-dependencies:
- dependency-name: scipy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 14:10:14 -07:00
dependabot[bot]
ef55c8c8fd
Bump scipy from 0.12.1 to 1.10.0 in /book (#32)
Bumps [scipy](https://github.com/scipy/scipy) from 0.12.1 to 1.10.0.
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](https://github.com/scipy/scipy/compare/v0.12.1...v1.10.0)

---
updated-dependencies:
- dependency-name: scipy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 14:10:05 -07:00
steinkirch.eth, phd
6c7eae7715
🐚 2023-04-25 08:51:13 -07:00
steinkirch.eth, phd
7403b5f900
4.6/5 stars and 33 reviews for a book written in school, not bad 2023-04-16 14:36:17 -07:00
dependabot[bot]
7c0583efbd
Bump ipython from 0.13.2 to 8.10.0 (#28) 2023-02-21 14:26:05 -08:00
dependabot[bot]
013c5cfb3a
Bump ipython from 7.16.3 to 8.10.0 in /book (#29) 2023-02-21 14:25:55 -08:00
dr. mia von steinkirch, phd
35816e90f0
when this repo used to have 600+ stars 2023-02-14 11:36:44 -08:00
dr. mia von steinkirch, phd
0a13fcc208
when this repo used to have 600+ stars 2023-02-14 11:35:31 -08:00
dr. mia von steinkirch, phd
405421ec19
being ref for a cmu computer science course 2023-02-11 12:13:58 -08:00
dependabot[bot]
c299610a4c
Bump ipython from 0.13.2 to 7.16.3 in /book (#24)
Bumps [ipython](https://github.com/ipython/ipython) from 0.13.2 to 7.16.3.
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](https://github.com/ipython/ipython/compare/rel-0.13.2...7.16.3)

---
updated-dependencies:
- dependency-name: ipython
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 06:12:01 -08:00
dr. mia von steinkirch, phd
223ef93067
Update README.md 2023-01-20 09:26:16 -08:00
dr. mia von steinkirch, phd
90e734fe30
Update README.md 2023-01-20 09:25:59 -08:00
mia von steinkirch, phd
3844a4352f
👾 here is a proof that this repo used to have 600 stars and 300+ forks before shit happened 2022-11-13 14:24:38 -08:00
Dr. Mia von Steinkirch
d116ed2935
🏴‍☠️ fix typo 2022-10-20 10:50:57 -07:00
dependabot[bot]
89c43077b7
Bump numpy from 1.8.2 to 1.22.0 (#26)
Bumps [numpy](https://github.com/numpy/numpy) from 1.8.2 to 1.22.0.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](https://github.com/numpy/numpy/compare/v1.8.2...v1.22.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 14:26:19 -07:00
dependabot[bot]
59dfa3d95b
Bump numpy from 1.8.2 to 1.22.0 in /book (#27)
Bumps [numpy](https://github.com/numpy/numpy) from 1.8.2 to 1.22.0.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](https://github.com/numpy/numpy/compare/v1.8.2...v1.22.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 14:26:11 -07:00
bt3gl
eb4a362049
Update README.md 2022-06-16 08:27:57 -07:00
bt3gl
a28975720d
Delete .gitignore 2022-06-16 08:21:25 -07:00
bt3gl
c5311d2f42
Delete FUNDING.yml 2022-06-16 08:21:11 -07:00
bt3gl
ed16bb8ed4
Update README.md 2022-03-06 06:32:18 -08:00
bt3gl
234b4b1fc8
Update README.md 2021-03-27 21:43:22 -07:00
Mia von Steinkirch
600dcc25c7
🏡 Add names. 2020-11-10 08:55:01 -08:00
bt3gl
a82a93987b
🏣 Clean up for arxiv 2020-05-19 10:40:09 -07:00
Mia von Steinkirch
96b0c06106
🐮 Updating funding 2020-03-22 10:23:18 -07:00
Mia von Steinkirch
dfa9c32576 🏣 Clean up for arxiv 2020-03-04 17:48:52 -08:00
Mia von Steinkirch
41756cb10c 🏣 Clean up for arxiv 2020-03-04 17:47:53 -08:00
Mia von Steinkirch, PhD, MSc
1b969e7db3
️Fix broken link 2020-02-10 15:54:25 -08:00
Mia von Steinkirch, PhD, MSc
978a053fdb
🪐 Fix broken link 2020-02-10 15:53:15 -08:00
Mia von Steinkirch, PhD, MSc
f30b2c45ca
🧠Fix link 2020-02-10 15:50:40 -08:00
Mia von Steinkirch, PhD, MSc
4263555391
👾Fix some typos 2020-02-10 12:16:01 -08:00
Mia von Steinkirch, PhD, MSc
95864fe473
🪁Update readme 2020-02-09 15:51:38 -08:00
Mia von Steinkirch, PhD, MSc
87447ad43d ️Buy me a coffee 2020-02-09 12:33:50 -08:00
Mia von Steinkirch
bb3ad8dcdc fix readme 2020-02-08 17:21:47 -08:00
Mia von Steinkirch
003f5953ed remove old dirs 2020-02-08 17:20:52 -08:00
Mia von Steinkirch
5fafebba15 add boilerplate for second edition 2020-02-08 17:20:00 -08:00
Mia von Steinkirch
dc3ebf3173 add boilerplate for second edition 2020-02-08 17:18:16 -08:00
bt3gl
5fd154f3fd
🌲The Zen of Python 2019-11-26 22:18:50 -08:00
MvS
70b22c1738 🔮 Clean up and arxiv my python book, no plans for future updates 2019-11-14 18:40:48 -08:00
Mia Steinkirch
cc27c43b91 🎡 Remove flask 2019-10-27 20:34:18 -07:00
Mia Steinkirch
70b28d5622 🛣 Add readme 2019-10-27 20:32:58 -07:00
Mia Steinkirch
87fefbae69 🏭 Add link for second edition, 2019 2019-10-27 20:31:41 -07:00
Mia Steinkirch
baac84ae3f 🕍 Clean up gitignore 2019-10-27 20:29:50 -07:00
Mia Steinkirch
5581a47a1a 🚀 remove extra dir 2019-10-27 20:28:49 -07:00
Mia Steinkirch
1963988230 🎃 Remove workflows since it is pointless in this repo 2019-10-27 20:28:22 -07:00
Mia Steinkirch
e303e3c507 🏝 Clean up readme 2019-10-27 20:27:18 -07:00
Mia Steinkirch
0c765993ce Merge branch 'master' of github.com:bt3gl/Book-Python_and_Algorithms 2019-10-27 20:26:46 -07:00
Mia Steinkirch
bf7d1053df 🍕 Clean up and move dirs 2019-10-27 20:26:35 -07:00
Mia von Steinkirch
c22225ec08
Update README.md 2019-10-27 13:59:02 -07:00
Mia von Steinkirch
28f35a0c2b
Update pythonapp.yml 2019-10-20 23:21:19 -07:00
Mia von Steinkirch
878cac0daf
Merge pull request #16 from bt3gl/dependabot/pip/flask-1.0
Bump flask from 0.10.1 to 1.0
2019-10-20 22:56:11 -07:00
Mia von Steinkirch
afcc80bcac
Merge pull request #17 from bt3gl/dependabot/pip/scapy-2.4.1
Bump scapy from 2.2.0 to 2.4.1
2019-10-20 22:55:44 -07:00
dependabot[bot]
eebc81ed07
Bump scapy from 2.2.0 to 2.4.1
Bumps [scapy](https://github.com/secdev/scapy) from 2.2.0 to 2.4.1.
- [Release notes](https://github.com/secdev/scapy/releases)
- [Commits](https://github.com/secdev/scapy/compare/v2.2.0...v2.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-12 23:10:41 +00:00
dependabot[bot]
b4416bc8f0
Bump flask from 0.10.1 to 1.0
Bumps [flask](https://github.com/pallets/flask) from 0.10.1 to 1.0.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/0.10.1...1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-12 23:10:34 +00:00
Mia Steinkirch
3c5ee16ff0 clean up 2019-10-12 16:09:21 -07:00
Mia Steinkirch
397584b1de clean up 2019-10-12 16:08:51 -07:00
Mia Steinkirch
e0eb554dfd clean up 2019-10-12 16:07:57 -07:00
Mia von Steinkirch
67419cf9de
Update README.md 2019-10-12 15:44:45 -07:00
Mia von Steinkirch
09633fd797
Create FUNDING.yml 2019-10-11 16:01:53 -07:00
Mia Steinkirch
1ef64d6e17 rv image
Signed-off-by: Mia Steinkirch <mia.steinkirch@gmail.com>
2019-10-11 04:41:45 -07:00
Mia Steinkirch
af25278fb3 typos 2019-10-11 04:40:21 -07:00
Mia Steinkirch
6ac18187a3 typos 2019-10-11 04:37:40 -07:00
Mia Steinkirch
2e96a35a0d reorganize 2019-10-11 04:32:52 -07:00
Mia Steinkirch
2fdaad121c organize
Signed-off-by: Mia Steinkirch <mia.steinkirch@gmail.com>
2019-10-11 04:32:02 -07:00
Mia Steinkirch
a8e71c50db reorganize dir
Signed-off-by: Mia Steinkirch <mia.steinkirch@gmail.com>
2019-10-11 04:29:17 -07:00
Mia
1b6f705e7c
typo 2019-09-29 18:05:16 -07:00
Dr. Marina Steinkirch
fc419aadcc
Update README.md 2019-09-10 17:37:17 -07:00
Dr. Marina Steinkirch
8acbecd2b0
Update README.md 2019-09-10 17:36:58 -07:00
Mia Steinkirch
9d671e5685
typo 2019-09-02 13:36:00 -10:00
Mia Steinkirch
286316a29f
Grammar check 2019-06-11 22:33:23 -07:00
Mia von Steinkirch
8e9cbfd87f more 2019-05-13 16:08:11 -07:00
Mia von Steinkirch
a5b67b61c0 more ex 2019-05-13 15:22:37 -07:00
Mia von Steinkirch
1b336bf09a so easy 2019-05-13 14:42:48 -07:00
Mia von Steinkirch
d99d1d27dc easy as a piece of cake 2019-05-13 14:15:20 -07:00
Mia von Steinkirch
85ecba5ace more ex 2019-05-13 13:50:21 -07:00
Mia von Steinkirch
bb6afce467 add some exe 2019-05-13 13:16:03 -07:00
Mia von Steinkirch
47e5ee3918 some ex 2019-05-13 12:26:14 -07:00
Mia von Steinkirch
9b4c8df7f7 add some exs 2019-05-12 21:23:24 -07:00
Mia von Steinkirch
0d5e21b867 bitwise 2019-05-12 18:00:11 -07:00
Mia von Steinkirch
fa83f7e42a add some int-cake problems 2019-05-09 20:18:06 -07:00
Mia von Steinkirch
e04656170b cleanup 2019-05-08 12:06:02 -07:00
Mia von Steinkirch
fb81535ffb cleanup 2019-05-08 12:04:12 -07:00
Mia von Steinkirch
1d476139a8 cleanup 2019-05-08 11:51:45 -07:00
the byt3girl
4d9c04e61d
Update README.md 2019-03-16 12:39:08 -10:00
bt3
ac67b30284 Add a useful way to understand python decorator 2018-06-24 13:22:15 -07:00
Mia Steinkirch
3cc8c1d5c0
add some notes on "Python solutions for every exercises from "Cracking the Code Interview" 2018-06-20 18:11:28 -07:00
Mia Steinkirch
1b5c89e75f
add license 2018-06-17 21:04:34 -07:00
Mia Steinkirch
47321c03fc
Add files via upload 2018-06-14 17:23:02 -07:00
Mia Steinkirch
ad67d2045f
Update README.md 2018-06-14 17:22:42 -07:00
Mia Steinkirch
6680aa6414
Update README.md 2018-06-14 15:51:07 -07:00
Marina von Steinkirch
2f4a9638c0 Change the dir structure slightly 2018-06-14 15:50:29 -07:00
Mia Steinkirch
6b6fe21db3
Update README.md 2018-06-14 15:48:12 -07:00
Mia Steinkirch
7097288107
Update README.md 2018-06-14 15:47:51 -07:00
Mia Steinkirch
0b79a1a1c6
Update README.md 2018-06-14 15:47:16 -07:00
Mia Steinkirch
277b556961
Update README.md 2018-06-14 15:46:01 -07:00
Mia Steinkirch
8e0dbb67df
Update README.md 2018-05-14 04:12:02 -10:00
Dr. bt3 cool af
47fed55509 Update README.md 2017-04-26 00:19:10 -07:00
Dr. bt3 cool af
aef15cfe84 Update README.md 2017-04-26 00:18:36 -07:00
bt3
d2c082d261 Update README.md 2016-03-13 21:34:12 -07:00
bt3
8aca11b171 warmup, preparing to give interviews 2015-10-25 20:15:48 -07:00
bt3
b240b35433 Delete balance_parenthesis.py 2015-10-25 20:15:33 -07:00
bt3
b7f8e031c3 warmup, preparing to give interviews 2015-10-25 19:51:07 -07:00
bt3
8b4aa469a7 warmup, preparing to give interviews 2015-10-25 17:13:11 -07:00
bt3
792434e3af warmup, preparing to give interviews 2015-10-25 17:12:45 -07:00
bt3
20c3036b4d Delete combinations.py 2015-10-25 16:44:56 -07:00
bt3
9c4f52e7bc Delete find_longest_common_prefix.py 2015-10-25 16:44:19 -07:00
bt3
9b8453e57e Update README.md 2015-10-19 13:50:33 -07:00
Mari Wahl
faa442ccb5 last fixes: tree common ancestor 2015-01-10 19:20:16 -05:00
Mari Wahl
cc8f1099d6 another possibility for binary trees with traversals for generators 2015-01-10 16:29:05 -05:00
Mari Wahl
c3cb3f1c1b ... 2015-01-10 01:09:23 -05:00
Mari Wahl
bc442a0727 more typos! 😓 2015-01-09 15:33:43 -05:00
Mari Wahl
56ad845ccc fix the image 💚 2015-01-09 13:41:26 -05:00
Mari Wahl
792a269597 typo fixed in the comb.py 👽 2015-01-09 13:37:18 -05:00
Mari Wahl
62601a8556 Release 3.0.1 🌟 2015-01-08 20:34:11 -05:00
Mari Wahl
4aac7e9d9b Release 3.0.1 :start2: 2015-01-08 20:33:07 -05:00
Mari Wahl
f59008eeb4 book: bits -> bit 2015-01-08 14:37:27 -05:00
423 changed files with 26896 additions and 530 deletions

39
.gitignore vendored
View file

@ -1,39 +0,0 @@
*.py[cod]
*~
# C extensions
*.so
# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
# Installer logs
pip-log.txt
# Unit test / coverage reports
.coverage
.tox
nosetests.xml
# Translations
*.mo
# Mr Developer
.mr.developer.cfg
.project
.pydevproject
# PyCharm
.idea

View file

@ -1,9 +0,0 @@
language: python
python:
- "2.7"
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
script: nosetests
notifications:
email: false

BIN
MY_BOOK/600_stars.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 KiB

View file

@ -0,0 +1,47 @@
#!/usr/bin/env python
# Time: 5 min
__author__ = "bt3"
class Queue(object):
def __init__(self):
self.enq = []
self.deq = []
def enqueue(self, item):
return self.enq.append(item)
def deque(self):
if not self.deq:
while self.enq:
self.deq.append(self.enq.pop())
return self.deq.pop()
def peak(self):
if not self.deq:
while self.enq:
self.deq.append(self.enq.pop())
if self.deq:
return self.deq[-1]
def size(self):
return len(self.enq) + len(self.deq)
def isempty(self):
return not (self.enq + self.deq)
if __name__ == '__main__':
q = Queue()
for i in range(1,11):
q.enqueue(i)
print 'Size:', q.size()
print 'Is empty?', q.isempty()
print 'Peak: ', q.peak()
print
print 'Dequeuing...'
for i in range(10):
print q.deque()
print 'Size:', q.size()
print 'Is empty?', q.isempty()
print 'Peak: ', q.peak()

View file

@ -11,20 +11,22 @@ def find_long_con_inc(seq):
[-2, 3, 5]
>>> find_long_con_inc([1, 3, -2, 3, 5, 6])
[-2, 3, 5, 6]
>>> find_long_con_inc([1, 3, 4, -13, 2, 5, 8, -1, 2,-17])
[-13, 2, 5, 8]
'''
aux = []
result = []
res, aux = [], []
seq.append(-float('infinity'))
for i, pivot in enumerate(seq[:-1]):
aux.append(pivot)
if pivot > seq[i+1]:
if len(aux) > len(result):
result = aux
for i, n in enumerate(seq[:-1]):
aux.append(n)
if n > seq[i+1]:
if len(res) < len(aux):
res = aux[:]
aux = []
return result
return res
if __name__ == '__main__':

Some files were not shown because too many files have changed in this diff Show more