Skip to content

Commit 81267bb

Browse files
authored
Remove design patterns (#321)
* Remove design patterns * Remove inactive code owners * Move set to data structures
1 parent 1ee70c1 commit 81267bb

29 files changed

+63
-637
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,3 @@
99

1010
* @siriak
1111
/.* @cclauss
12-
/ciphers/ @vedantmamgain
13-
/data-structures/ @Mystigan @vedantmamgain
14-
/dynamic-programming/ @vedantmamgain
15-
/graphs/ @vedantmamgain
16-
/math/ @vedantmamgain @Mystigan
17-
/other/ @vedantmamgain
18-
/searches/ @Mystigan @vedantmamgain
19-
/sorts/ @Mystigan @vedantmamgain
20-
/strings/ @vedantmamgain

README.md

Lines changed: 63 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -15,99 +15,98 @@ Read our [Contribution Guidelines](CONTRIBUTING.md) before you contribute.
1515

1616

1717
## Ciphers
18-
* [Caesar](https://github.com/TheAlgorithms/Go/blob/master/ciphers/caesar/)
19-
* [Diffie Hellman Key Exchange](https://github.com/TheAlgorithms/Go/blob/master/ciphers/diffie_hellman_key_exchange/)
20-
* [Polybius](https://github.com/TheAlgorithms/Go/blob/master/ciphers/polybius/)
21-
* [Rot13](https://github.com/TheAlgorithms/Go/blob/master/ciphers/rot13/)
22-
* [Rsa Cipher](https://github.com/TheAlgorithms/Go/blob/master/ciphers/rsa_cipher/)
23-
* [Rsa Cipher Big](https://github.com/TheAlgorithms/Go/blob/master/ciphers/rsa_cipher_big/)
24-
* [Xor Cipher](https://github.com/TheAlgorithms/Go/blob/master/ciphers/xor_cipher/)
18+
* [Caesar](./ciphers/caesar/)
19+
* [Diffie Hellman Key Exchange](./ciphers/diffie_hellman_key_exchange/)
20+
* [Polybius](./ciphers/polybius/)
21+
* [Rot13](./ciphers/rot13/)
22+
* [Rsa Cipher](./ciphers/rsa_cipher/)
23+
* [Rsa Cipher Big](./ciphers/rsa_cipher_big/)
24+
* [Xor Cipher](./ciphers/xor_cipher/)
2525

2626
## Conversions
27-
* [Roman To Integer](https://github.com/TheAlgorithms/Go/blob/master/conversions/roman_to_integer/)
27+
* [Roman To Integer](./conversions/roman_to_integer/)
2828

2929
## Data Structures
30-
* [Binary Tree](https://github.com/TheAlgorithms/Go/blob/master/data_structures/binary_tree/)
31-
* [Dynamic Array](https://github.com/TheAlgorithms/Go/blob/master/data_structures/dynamic_array/)
32-
* [Hashmap](https://github.com/TheAlgorithms/Go/blob/master/data_structures/hashmap/)
30+
* [Binary Tree](./data_structures/binary_tree/)
31+
* [Dynamic Array](./data_structures/dynamic_array/)
32+
* [Hashmap](./data_structures/hashmap/)
3333
* Linked-List
34-
* [Doubly Linked-list](https://github.com/TheAlgorithms/Go/blob/master/data_structures/linkedlist/doubly_linkedlist/)
35-
* [Singly Linked-list](https://github.com/TheAlgorithms/Go/blob/master/data_structures/linkedlist/singly_linkedlist/)
36-
* [Trie](https://github.com/TheAlgorithms/Go/blob/master/data_structures/trie/)
34+
* [Doubly Linked-list](./data_structures/linkedlist/doubly_linkedlist/)
35+
* [Singly Linked-list](./data_structures/linkedlist/singly_linkedlist/)
36+
* [Trie](./data_structures/trie/)
3737

3838
## Design Patterns
39-
* [Abstract Factory](https://github.com/TheAlgorithms/Go/blob/master/design_patterns/abstract_factory/)
40-
* [Builder](https://github.com/TheAlgorithms/Go/blob/master/design_patterns/builder/)
41-
* [Factory Method](https://github.com/TheAlgorithms/Go/blob/master/design_patterns/factory_method/)
42-
* [Prototype](https://github.com/TheAlgorithms/Go/blob/master/design_patterns/prototype/)
39+
* [Abstract Factory](./design_patterns/abstract_factory/)
40+
* [Builder](./design_patterns/builder/)
41+
* [Factory Method](./design_patterns/factory_method/)
42+
* [Prototype](./design_patterns/prototype/)
4343

4444

4545
## Dynamic Programming
46-
* [Binomial Coefficient](https://github.com/TheAlgorithms/Go/blob/master/dynamic_programming/binomialcoefficient.go)
47-
* [Fibonacci](https://github.com/TheAlgorithms/Go/blob/master/dynamic_programming/fibonacci.go) | [Test](https://github.com/TheAlgorithms/Go/blob/master/dynamic_programming/fibonacci_test.go)
48-
* [Knapsack](https://github.com/TheAlgorithms/Go/blob/master/dynamic_programming/knapsack.go)
49-
* [Longest Common Subsequence](https://github.com/TheAlgorithms/Go/blob/master/dynamic_programming/longestcommonsubsequence.go)
50-
* [Longest Palindromic Subsequence](https://github.com/TheAlgorithms/Go/blob/master/dynamic_programming/longestpalindromicsubsequence.go)
51-
* [Matrix Multiplication](https://github.com/TheAlgorithms/Go/blob/master/dynamic_programming/matrixmultiplication.go)
52-
* [Cutting a Rod](https://github.com/TheAlgorithms/Go/blob/master/dynamic_programming/rodcutting.go)
46+
* [Binomial Coefficient](./dynamic_programming/binomialcoefficient.go)
47+
* [Fibonacci](./dynamic_programming/fibonacci.go) | [Test](./dynamic_programming/fibonacci_test.go)
48+
* [Knapsack](./dynamic_programming/knapsack.go)
49+
* [Longest Common Subsequence](./dynamic_programming/longestcommonsubsequence.go)
50+
* [Longest Palindromic Subsequence](./dynamic_programming/longestpalindromicsubsequence.go)
51+
* [Matrix Multiplication](./dynamic_programming/matrixmultiplication.go)
52+
* [Cutting a Rod](./dynamic_programming/rodcutting.go)
5353

5454
## Genetic Algorithm
55-
* [Genetic Algorithm](https://github.com/TheAlgorithms/Go/blob/master/genetic_algorithm/geneticalgorithm.go)
55+
* [Genetic Algorithm](./genetic_algorithm/geneticalgorithm.go)
5656

5757
## Graphs
58-
* [Breadth First Search](https://github.com/TheAlgorithms/Go/blob/master/graphs/breadth_first_search/)
59-
* [Depth First Search](https://github.com/TheAlgorithms/Go/blob/master/graphs/depth_first_search/)
60-
* [Floyd Warshall](https://github.com/TheAlgorithms/Go/blob/master/graphs/floyd_warshall/)
58+
* [Breadth First Search](./graphs/breadth_first_search/)
59+
* [Depth First Search](./graphs/depth_first_search/)
60+
* [Floyd Warshall](./graphs/floyd_warshall/)
6161

6262
## Math
63-
* [Gcd](https://github.com/TheAlgorithms/Go/blob/master/math/gcd/)
64-
* [Lcm](https://github.com/TheAlgorithms/Go/blob/master/math/lcm/)
65-
* [Modular Arithmetic](https://github.com/TheAlgorithms/Go/blob/master/math/modular_arithmetic/)
66-
* [Permutation](https://github.com/TheAlgorithms/Go/blob/master/math/permutation/)
67-
* [Power](https://github.com/TheAlgorithms/Go/blob/master/math/power/)
68-
* [Prime](https://github.com/TheAlgorithms/Go/blob/master/math/prime/)
69-
* [Pythagoras](https://github.com/TheAlgorithms/Go/blob/master/math/pythagoras/)
70-
* [Sieve](https://github.com/TheAlgorithms/Go/blob/master/math/sieve/)
63+
* [Gcd](./math/gcd/)
64+
* [Lcm](./math/lcm/)
65+
* [Modular Arithmetic](./math/modular_arithmetic/)
66+
* [Permutation](./math/permutation/)
67+
* [Power](./math/power/)
68+
* [Prime](./math/prime/)
69+
* [Pythagoras](./math/pythagoras/)
70+
* [Sieve](./math/sieve/)
7171

7272

7373
## Other
74-
* [Max Subarray Sum](https://github.com/TheAlgorithms/Go/blob/master/other/max_subarray_sum/)
75-
* [Monte Carlo Pi](https://github.com/TheAlgorithms/Go/blob/master/other/monte_carlo_pi/)
76-
* [Nested Brackets](https://github.com/TheAlgorithms/Go/blob/master/other/nested_brackets/)
77-
* [Password Generator](https://github.com/TheAlgorithms/Go/blob/master/other/password_generator/)
78-
* [String Combinations](https://github.com/TheAlgorithms/Go/blob/master/other/string_combinations/)
74+
* [Max Subarray Sum](./other/max_subarray_sum/)
75+
* [Monte Carlo Pi](./other/monte_carlo_pi/)
76+
* [Nested Brackets](./other/nested_brackets/)
77+
* [Password Generator](./other/password_generator/)
78+
* [String Combinations](./other/string_combinations/)
7979

8080
## Searches
81-
* [Binary Search](https://github.com/TheAlgorithms/Go/blob/master/searches/binary_search/)
82-
* [Linear Search](https://github.com/TheAlgorithms/Go/blob/master/searches/linear_search/)
81+
* [Binary Search](./searches/binary_search/)
82+
* [Linear Search](./searches/linear_search/)
8383

8484
## Set
85-
* [Set](https://github.com/TheAlgorithms/Go/blob/master/set/set.go)
85+
* [Set](./data_structures/set/set.go)
8686

8787
## Sorts
88-
* [Bubble Sort](https://github.com/TheAlgorithms/Go/blob/master/sorts/bubblesort.go)
89-
* [Heap Sort](https://github.com/TheAlgorithms/Go/blob/master/sorts/heapsort.go)
90-
* [Insertion Sort](https://github.com/TheAlgorithms/Go/blob/master/sorts/insertionsort.go)
91-
* [Merge Sort](https://github.com/TheAlgorithms/Go/blob/master/sorts/mergesort.go)
92-
* [Quick Sort](https://github.com/TheAlgorithms/Go/blob/master/sorts/quicksort.go)
93-
* [Radix Sort](https://github.com/TheAlgorithms/Go/blob/master/sorts/radixsort.go)
94-
* [Selection Sort](https://github.com/TheAlgorithms/Go/blob/master/sorts/selectionsort.go)
95-
* [Shell Sort](https://github.com/TheAlgorithms/Go/blob/master/sorts/shellsort.go)
88+
* [Bubble Sort](./sorts/bubblesort.go)
89+
* [Heap Sort](./sorts/heapsort.go)
90+
* [Insertion Sort](./sorts/insertionsort.go)
91+
* [Merge Sort](./sorts/mergesort.go)
92+
* [Quick Sort](./sorts/quicksort.go)
93+
* [Radix Sort](./sorts/radixsort.go)
94+
* [Selection Sort](./sorts/selectionsort.go)
95+
* [Shell Sort](./sorts/shellsort.go)
9696

9797

9898
* Sorts Test
99-
* [Sorts Test](https://github.com/TheAlgorithms/Go/blob/master/sorts/sorts_test.go)
100-
* [Sorts Testcases](https://github.com/TheAlgorithms/Go/blob/master/sorts/sorts_testcases.go)
99+
* [Sorts Test](./sorts/sorts_test.go)
100+
* [Sorts Testcases](./sorts/sorts_testcases.go)
101101

102102
## Strings
103-
* [Levenshtein Distance](https://github.com/TheAlgorithms/Go/blob/master/strings/levenshtein_distance/)
103+
* [Levenshtein Distance](./strings/levenshtein_distance/)
104104
* Multiple String Matching
105-
* [Advanced Aho Corasick](https://github.com/TheAlgorithms/Go/blob/master/strings/multiple_string_matching/advanced_aho_corasick/)
106-
* [Aho Corasick](https://github.com/TheAlgorithms/Go/blob/master/strings/multiple_string_matching/aho_corasick/)
107-
* [Sbom](https://github.com/TheAlgorithms/Go/blob/master/strings/multiple_string_matching/sbom/)
108-
* [Naive String Search](https://github.com/TheAlgorithms/Go/blob/master/strings/naive_string_search/)
105+
* [Advanced Aho Corasick](./strings/multiple_string_matching/advanced_aho_corasick/)
106+
* [Aho Corasick](./strings/multiple_string_matching/aho_corasick/)
107+
* [Sbom](./strings/multiple_string_matching/sbom/)
108+
* [Naive String Search](./strings/naive_string_search/)
109109
* Single String Matching
110-
* [Bom](https://github.com/TheAlgorithms/Go/blob/master/strings/single_string_matching/bom/)
111-
* [Horspool](https://github.com/TheAlgorithms/Go/blob/master/strings/single_string_matching/horspool/)
112-
* [Kmp](https://github.com/TheAlgorithms/Go/blob/master/strings/single_string_matching/kmp/)
113-
110+
* [Bom](./strings/single_string_matching/bom/)
111+
* [Horspool](./strings/single_string_matching/horspool/)
112+
* [Kmp](./strings/single_string_matching/kmp/)
File renamed without changes.

design_patterns/abstract_factory/abstractfactory_test.go

Lines changed: 0 additions & 52 deletions
This file was deleted.

design_patterns/abstract_factory/adidas.go

Lines changed: 0 additions & 23 deletions
This file was deleted.

design_patterns/abstract_factory/adidasshirt.go

Lines changed: 0 additions & 6 deletions
This file was deleted.

design_patterns/abstract_factory/adidasshoe.go

Lines changed: 0 additions & 6 deletions
This file was deleted.

design_patterns/abstract_factory/ishirt.go

Lines changed: 0 additions & 31 deletions
This file was deleted.

design_patterns/abstract_factory/ishoe.go

Lines changed: 0 additions & 30 deletions
This file was deleted.

design_patterns/abstract_factory/isportsfactory.go

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)