2021-04-15 19:29:20 +00:00
|
|
|
# Python
|
|
|
|
|
|
|
|
## Arrays
|
2021-10-09 15:06:25 +00:00
|
|
|
- [Count Inversions](arrays/counting_inversions.py)
|
|
|
|
- [Majority Element](arrays/majority_element.py)
|
|
|
|
- [Rotate Array](arrays/rotate_array.py)
|
|
|
|
- [Missing Number](arrays/missing_number.py)
|
2022-03-08 19:58:00 +00:00
|
|
|
- [Remove duplicate items](arrays/remove_duplicates_list.py)
|
2022-04-11 13:38:45 +00:00
|
|
|
- [Dutch National Flag Algorithm](arrays/dutch_national_flag_algo.py)
|
2021-04-15 19:29:20 +00:00
|
|
|
|
|
|
|
## Linked Lists
|
2021-10-09 15:06:25 +00:00
|
|
|
- [Doubly](linked_lists/doubly.py)
|
|
|
|
- [Singly](linked_lists/singly.py)
|
|
|
|
- [Reverse List](linked_lists/reverse-linkedlist.py)
|
2022-03-28 18:38:37 +00:00
|
|
|
- [Middle Node](linked_lists/middle-node-linkedlist.py)
|
|
|
|
|
2021-06-03 14:34:11 +00:00
|
|
|
|
2021-12-28 13:15:08 +00:00
|
|
|
## Dictionaries
|
|
|
|
- [Two Sum](dictionaries/two-sum.py)
|
|
|
|
|
2021-04-15 19:29:20 +00:00
|
|
|
## Multiplication
|
2022-01-24 17:33:29 +00:00
|
|
|
- [Karatsuba](multiplication/karatsuba_algorithm.py)
|
2021-06-03 14:34:11 +00:00
|
|
|
|
2021-08-10 12:25:17 +00:00
|
|
|
## Recursion
|
2021-10-09 15:06:25 +00:00
|
|
|
- [Factorial](recursion/factorial.py)
|
2022-01-07 12:59:22 +00:00
|
|
|
- [n-th Fibonacci number](recursion/nth_fibonacci_number.py)
|
2021-10-09 15:06:25 +00:00
|
|
|
- [Recursive Insertion Sort](recursion/recursive_insertion_sort.py)
|
2022-07-09 15:31:28 +00:00
|
|
|
- [Recursive Sum of n numbers](recursion/recursive-sum-of-n-numbers.py)
|
2022-08-15 14:03:38 +00:00
|
|
|
- [GCD by Euclid's Algorithm](recursion/gcd_using_recursion.py)
|
2021-08-10 12:25:17 +00:00
|
|
|
|
2022-07-15 12:46:44 +00:00
|
|
|
|
2021-04-15 19:29:20 +00:00
|
|
|
## Scheduling
|
2021-10-09 15:06:25 +00:00
|
|
|
- [Interval Scheduling](scheduling/interval_scheduling.py)
|
2021-06-03 14:34:11 +00:00
|
|
|
|
2021-04-15 19:29:20 +00:00
|
|
|
## Searching
|
2021-10-09 15:06:25 +00:00
|
|
|
- [Binary Search](searching/binary_search.py)
|
|
|
|
- [Jump Search](searching/jump_search.py)
|
|
|
|
- [Linear Search](searching/linear_search.py)
|
|
|
|
- [Ternary Search](searching/ternary_search.py)
|
|
|
|
- [Interpolation Search](searching/interpolation_search.py)
|
2022-04-16 18:08:02 +00:00
|
|
|
- [Uniform Cost Search](searching/uniform_cost_search.py)
|
2022-04-20 13:37:34 +00:00
|
|
|
- [Breath First Search](searching/breadth-first-search.py)
|
2021-06-03 14:34:11 +00:00
|
|
|
|
2021-04-15 19:29:20 +00:00
|
|
|
## Sorting
|
2021-10-09 15:06:25 +00:00
|
|
|
- [Bubble Sort](sorting/bubble_sort.py)
|
|
|
|
- [Comb Sort](sorting/comb_sort.py)
|
2021-11-01 13:05:31 +00:00
|
|
|
- [Count Sort](sorting/count-sort.py)
|
2021-10-09 15:06:25 +00:00
|
|
|
- [Insertion Sort](sorting/insertion_sort.py)
|
|
|
|
- [Quicksort](sorting/quicksort.py)
|
|
|
|
- [Selection Sort](sorting/selection_sort.py)
|
|
|
|
- [Heap Sort](sorting/heap-sort.py)
|
|
|
|
- [Radix Sort](sorting/radix_sort.py)
|
|
|
|
- [Shell Sort](sorting/shell-sort.py)
|
|
|
|
- [Merge sort](sorting/merge_sort.py)
|
2021-06-03 14:34:11 +00:00
|
|
|
|
2021-04-15 19:29:20 +00:00
|
|
|
## Strings
|
2021-10-09 15:06:25 +00:00
|
|
|
- [Is Good Str](strings/is_good_str.py)
|
|
|
|
- [Palindrome](strings/palindrome.py)
|
|
|
|
- [Word Count](strings/word_count.py)
|
|
|
|
- [Remove Duplicates from a String](strings/remove_duplicates_from_a_string.py)
|
|
|
|
- [First Non Repeating Character](strings/first_non_repeating_character.py)
|
|
|
|
- [Longest Common Subsequence](strings/longest_common_subsequence.py)
|
|
|
|
- [Unique Character](strings/unique_character.py)
|
2021-10-14 12:52:23 +00:00
|
|
|
- [Add String](strings/add_string.py)
|
2022-03-07 01:50:41 +00:00
|
|
|
- [Rabin Karp algorithm](strings/rabin-karp-algorithm.py)
|
2022-09-06 18:15:28 +00:00
|
|
|
- [Find all permutations](strings/find_all_permutations.py)
|
2021-05-29 21:34:53 +00:00
|
|
|
|
|
|
|
## Dynamic Programming
|
2021-10-09 15:06:25 +00:00
|
|
|
- [Print Fibonacci Series Up To N-th Term](dynamic_programming/fibonacci_series.py)
|
|
|
|
- [Sum Up To N-th Term Of Fibonacci Series](dynamic_programming/fibonacci_series_sum.py)
|
|
|
|
- [N-th Term Of Fibonacci Series](dynamic_programming/fibonacci_series_nth_term.py)
|
|
|
|
- [Catalan Sequence](dynamic_programming/catalan_sequence.py)
|
|
|
|
- [0/1 Knapsack Problem](dynamic_programming/knapsack.py)
|
2022-02-07 14:58:16 +00:00
|
|
|
- [Levenshtein distance](dynamic_programming/levenshtein_distance.py)
|
2021-09-22 11:03:10 +00:00
|
|
|
|
2021-10-11 15:18:53 +00:00
|
|
|
## Graphs
|
|
|
|
- [Simple Graph](graphs/graph.py)
|
2022-05-29 14:07:46 +00:00
|
|
|
- [BFS SEQUENCE](graphs/bfs-sequence.py)
|
2022-07-15 12:46:44 +00:00
|
|
|
- [Depth First Search](graphs/depth-first-search.py)
|
2021-10-11 15:18:53 +00:00
|
|
|
|
2021-09-22 11:03:10 +00:00
|
|
|
## Trees
|
2021-10-09 15:06:25 +00:00
|
|
|
- [Binary Tree](trees/binary_tree.py)
|
2022-01-13 12:55:01 +00:00
|
|
|
- [Binary Search Tree](trees/binary_search_tree.py)
|
2021-10-11 15:18:53 +00:00
|
|
|
|
2022-02-10 01:16:40 +00:00
|
|
|
## Queues
|
2022-03-08 19:58:00 +00:00
|
|
|
- [First in First out Queue](queues/fifo-queue.py)
|
2022-08-18 13:23:20 +00:00
|
|
|
|
2022-08-20 15:54:06 +00:00
|
|
|
## Number Theory
|
|
|
|
- [Prime Number Checker](number_theory/prime_number.py)
|