├── .DS_Store ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── algorithms ├── binary-search.md ├── binary-search.py ├── breadth-first-search.md ├── breadth-first-search.py ├── depth-first-search.md ├── depth-first-search.py ├── heap-sort.md ├── heap-sort.py ├── insertion-sort.md ├── insertion-sort.py ├── merge-sort.md ├── merge-sort.py ├── permutation-sort.py ├── quick-sort.md └── quick-sort.py ├── challenges ├── Add-2-numbers.py ├── first-last-element.py ├── median-sorted-array.py ├── min-distance.py ├── number-one.py ├── palindrome.py ├── replace-spaces.py ├── shuffle_cards.py ├── swap-two-int.py ├── two-sum.py └── word-occurences.py ├── concepts ├── big-oooh.md ├── big-oooh.py ├── bit-manipulation.md ├── dynamic-programming.md ├── recursion.md └── recursion.py ├── course-book-notes ├── .DS_Store ├── algorithms-design-manual │ ├── 0-intro.md │ └── 1-intro-algorithm-design.md ├── cracking-coding-interviews │ ├── 1-introduction.md │ ├── 2-Big-O.md │ ├── 3-1-big-o-exercises.md │ ├── 3-2-bigo.py │ ├── 4-technical-interviews.md │ ├── 5-arrays-strings.md │ ├── array-string-questions │ │ ├── palindrome-permutation.py │ │ ├── permutation-strings.py │ │ ├── reserse_number.py │ │ └── string_unique.py │ └── linkedlist-questions │ │ └── delete-duplicates.py └── mit-algorithms │ ├── .DS_Store │ ├── images │ └── mit1.png │ ├── lecture-9.md │ ├── lecture1-2.md │ ├── lecture3.md │ ├── lecture4.md │ └── lecture5.md ├── data-structures ├── arrays-sequence-dynamic.py ├── arrays-sequence-static.py ├── arrays-sequence.md ├── binary-search-tree.py ├── binary-search-trees.md ├── graphs-intro.md ├── hash-direct-acess-array.py ├── hash-table.py ├── hash-tables.md ├── heaps.md ├── linkedlist.md ├── linkedlist.py ├── stack-queues.md └── stack-queues.py └── images ├── adjacent-lists-matrx.png ├── beans.jpg ├── bigo.png ├── bigographs.png ├── delete-tree.png ├── fibo-2.JPG ├── fibo.jpg ├── graphs.png ├── hashmap.png ├── heap-tree.png ├── insert-tree.png ├── insertion-loss.png ├── merge-sort.JPG ├── power2.png ├── quick-sort.JPG ├── tree.png ├── walk.png └── words-search.jpg /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/.DS_Store -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/README.md -------------------------------------------------------------------------------- /algorithms/binary-search.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/binary-search.md -------------------------------------------------------------------------------- /algorithms/binary-search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/binary-search.py -------------------------------------------------------------------------------- /algorithms/breadth-first-search.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/breadth-first-search.md -------------------------------------------------------------------------------- /algorithms/breadth-first-search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/breadth-first-search.py -------------------------------------------------------------------------------- /algorithms/depth-first-search.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/depth-first-search.md -------------------------------------------------------------------------------- /algorithms/depth-first-search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/depth-first-search.py -------------------------------------------------------------------------------- /algorithms/heap-sort.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/heap-sort.md -------------------------------------------------------------------------------- /algorithms/heap-sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/heap-sort.py -------------------------------------------------------------------------------- /algorithms/insertion-sort.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/insertion-sort.md -------------------------------------------------------------------------------- /algorithms/insertion-sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/insertion-sort.py -------------------------------------------------------------------------------- /algorithms/merge-sort.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/merge-sort.md -------------------------------------------------------------------------------- /algorithms/merge-sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/merge-sort.py -------------------------------------------------------------------------------- /algorithms/permutation-sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/permutation-sort.py -------------------------------------------------------------------------------- /algorithms/quick-sort.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/quick-sort.md -------------------------------------------------------------------------------- /algorithms/quick-sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/algorithms/quick-sort.py -------------------------------------------------------------------------------- /challenges/Add-2-numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/challenges/Add-2-numbers.py -------------------------------------------------------------------------------- /challenges/first-last-element.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/challenges/first-last-element.py -------------------------------------------------------------------------------- /challenges/median-sorted-array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/challenges/median-sorted-array.py -------------------------------------------------------------------------------- /challenges/min-distance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/challenges/min-distance.py -------------------------------------------------------------------------------- /challenges/number-one.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/challenges/number-one.py -------------------------------------------------------------------------------- /challenges/palindrome.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/challenges/palindrome.py -------------------------------------------------------------------------------- /challenges/replace-spaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/challenges/replace-spaces.py -------------------------------------------------------------------------------- /challenges/shuffle_cards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/challenges/shuffle_cards.py -------------------------------------------------------------------------------- /challenges/swap-two-int.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/challenges/swap-two-int.py -------------------------------------------------------------------------------- /challenges/two-sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/challenges/two-sum.py -------------------------------------------------------------------------------- /challenges/word-occurences.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/challenges/word-occurences.py -------------------------------------------------------------------------------- /concepts/big-oooh.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/concepts/big-oooh.md -------------------------------------------------------------------------------- /concepts/big-oooh.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/concepts/big-oooh.py -------------------------------------------------------------------------------- /concepts/bit-manipulation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/concepts/bit-manipulation.md -------------------------------------------------------------------------------- /concepts/dynamic-programming.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/concepts/dynamic-programming.md -------------------------------------------------------------------------------- /concepts/recursion.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/concepts/recursion.md -------------------------------------------------------------------------------- /concepts/recursion.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /course-book-notes/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/.DS_Store -------------------------------------------------------------------------------- /course-book-notes/algorithms-design-manual/0-intro.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/algorithms-design-manual/0-intro.md -------------------------------------------------------------------------------- /course-book-notes/algorithms-design-manual/1-intro-algorithm-design.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/algorithms-design-manual/1-intro-algorithm-design.md -------------------------------------------------------------------------------- /course-book-notes/cracking-coding-interviews/1-introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/cracking-coding-interviews/1-introduction.md -------------------------------------------------------------------------------- /course-book-notes/cracking-coding-interviews/2-Big-O.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/cracking-coding-interviews/2-Big-O.md -------------------------------------------------------------------------------- /course-book-notes/cracking-coding-interviews/3-1-big-o-exercises.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/cracking-coding-interviews/3-1-big-o-exercises.md -------------------------------------------------------------------------------- /course-book-notes/cracking-coding-interviews/3-2-bigo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/cracking-coding-interviews/3-2-bigo.py -------------------------------------------------------------------------------- /course-book-notes/cracking-coding-interviews/4-technical-interviews.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/cracking-coding-interviews/4-technical-interviews.md -------------------------------------------------------------------------------- /course-book-notes/cracking-coding-interviews/5-arrays-strings.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/cracking-coding-interviews/5-arrays-strings.md -------------------------------------------------------------------------------- /course-book-notes/cracking-coding-interviews/array-string-questions/palindrome-permutation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/cracking-coding-interviews/array-string-questions/palindrome-permutation.py -------------------------------------------------------------------------------- /course-book-notes/cracking-coding-interviews/array-string-questions/permutation-strings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/cracking-coding-interviews/array-string-questions/permutation-strings.py -------------------------------------------------------------------------------- /course-book-notes/cracking-coding-interviews/array-string-questions/reserse_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/cracking-coding-interviews/array-string-questions/reserse_number.py -------------------------------------------------------------------------------- /course-book-notes/cracking-coding-interviews/array-string-questions/string_unique.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/cracking-coding-interviews/array-string-questions/string_unique.py -------------------------------------------------------------------------------- /course-book-notes/cracking-coding-interviews/linkedlist-questions/delete-duplicates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/cracking-coding-interviews/linkedlist-questions/delete-duplicates.py -------------------------------------------------------------------------------- /course-book-notes/mit-algorithms/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/mit-algorithms/.DS_Store -------------------------------------------------------------------------------- /course-book-notes/mit-algorithms/images/mit1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/mit-algorithms/images/mit1.png -------------------------------------------------------------------------------- /course-book-notes/mit-algorithms/lecture-9.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/mit-algorithms/lecture-9.md -------------------------------------------------------------------------------- /course-book-notes/mit-algorithms/lecture1-2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/mit-algorithms/lecture1-2.md -------------------------------------------------------------------------------- /course-book-notes/mit-algorithms/lecture3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/mit-algorithms/lecture3.md -------------------------------------------------------------------------------- /course-book-notes/mit-algorithms/lecture4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/mit-algorithms/lecture4.md -------------------------------------------------------------------------------- /course-book-notes/mit-algorithms/lecture5.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/course-book-notes/mit-algorithms/lecture5.md -------------------------------------------------------------------------------- /data-structures/arrays-sequence-dynamic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/data-structures/arrays-sequence-dynamic.py -------------------------------------------------------------------------------- /data-structures/arrays-sequence-static.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/data-structures/arrays-sequence-static.py -------------------------------------------------------------------------------- /data-structures/arrays-sequence.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/data-structures/arrays-sequence.md -------------------------------------------------------------------------------- /data-structures/binary-search-tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/data-structures/binary-search-tree.py -------------------------------------------------------------------------------- /data-structures/binary-search-trees.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/data-structures/binary-search-trees.md -------------------------------------------------------------------------------- /data-structures/graphs-intro.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/data-structures/graphs-intro.md -------------------------------------------------------------------------------- /data-structures/hash-direct-acess-array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/data-structures/hash-direct-acess-array.py -------------------------------------------------------------------------------- /data-structures/hash-table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/data-structures/hash-table.py -------------------------------------------------------------------------------- /data-structures/hash-tables.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/data-structures/hash-tables.md -------------------------------------------------------------------------------- /data-structures/heaps.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/data-structures/heaps.md -------------------------------------------------------------------------------- /data-structures/linkedlist.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/data-structures/linkedlist.md -------------------------------------------------------------------------------- /data-structures/linkedlist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/data-structures/linkedlist.py -------------------------------------------------------------------------------- /data-structures/stack-queues.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/data-structures/stack-queues.md -------------------------------------------------------------------------------- /data-structures/stack-queues.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/data-structures/stack-queues.py -------------------------------------------------------------------------------- /images/adjacent-lists-matrx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/adjacent-lists-matrx.png -------------------------------------------------------------------------------- /images/beans.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/beans.jpg -------------------------------------------------------------------------------- /images/bigo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/bigo.png -------------------------------------------------------------------------------- /images/bigographs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/bigographs.png -------------------------------------------------------------------------------- /images/delete-tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/delete-tree.png -------------------------------------------------------------------------------- /images/fibo-2.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/fibo-2.JPG -------------------------------------------------------------------------------- /images/fibo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/fibo.jpg -------------------------------------------------------------------------------- /images/graphs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/graphs.png -------------------------------------------------------------------------------- /images/hashmap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/hashmap.png -------------------------------------------------------------------------------- /images/heap-tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/heap-tree.png -------------------------------------------------------------------------------- /images/insert-tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/insert-tree.png -------------------------------------------------------------------------------- /images/insertion-loss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/insertion-loss.png -------------------------------------------------------------------------------- /images/merge-sort.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/merge-sort.JPG -------------------------------------------------------------------------------- /images/power2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/power2.png -------------------------------------------------------------------------------- /images/quick-sort.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/quick-sort.JPG -------------------------------------------------------------------------------- /images/tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/tree.png -------------------------------------------------------------------------------- /images/walk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/walk.png -------------------------------------------------------------------------------- /images/words-search.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Nyandwi/algorithms/HEAD/images/words-search.jpg --------------------------------------------------------------------------------