Skip to content

Commit 162e034

Browse files
authored
Update README.md
1 parent 9ee63ae commit 162e034

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@ Include contains single header implementation of data structures and some algori
130130
| Test cases for self created string library | [pstring_test.cpp](string_problems/pstring_test.cpp)|
131131

132132
### Common Data Structure and logic problems
133-
| Problem | Solution |
134-
| :------------ | :----------: |
133+
| Problem | Solution || :------------ | :----------: |
135134
| Print the contents of matrix in a spiral order | [matrix_spiral_print.cpp](common_ds_algo_problems/matrix_spiral_print.cpp)
136135
| Given a M x N matrix, rotate it by R rotations anticlockwise, and show the resulting matrix. | [rotate_matrix.cpp](common_ds_algo_problems/rotate_matrix.cpp)|
137136
| Rotate an array by r elements ( left or right ) | [array_rotation.cpp](common_ds_algo_problems/array_rotation.cpp)
@@ -141,8 +140,7 @@ Include contains single header implementation of data structures and some algori
141140
| Encrypt and then decrypts a text using Caeser Cipher. | [caeser_cipher.cpp](common_ds_algo_problems/caeser_cipher.cpp)|
142141
| Encrypt and then decrypts a text using Vigenère cipher. | [vigenere_cipher.cpp](common_ds_algo_problems/vigenere_cipher.cpp)|
143142

144-
### Math Problems
145-
| Problem | Solution |
143+
### Math Problems| Problem | Solution |
146144
| :------------ | :----------: |
147145
| Print all the permutations of a string. Example: Permutations of ABC are ABC, ACB, BCA, BAC, CAB, CBA | [string_permutations.cpp](math_problems/string_permutations.cpp) |
148146
| Euclidean algorithm to find greatest common divisor of two numbers. (Iterative and recursive)|[gcd.cpp](math_problems/gcd.cpp)|
@@ -170,7 +168,8 @@ Include contains single header implementation of data structures and some algori
170168
| Given an array A of n elements, find three indices i, j and k such that A[i]^2 + A[j]^2 = A[K]^2. O(n2) time complexity and O(1) space complexity | [squareSum.cpp](sort_search_problems/squareSum.cpp)|
171169
| Given an unsorted array arr[0..n-1] of size n, find the minimum length subarray arr[s..e] such that sorting this subarray makes the whole array sorted. |[minLengthUnsortedArray.cpp](sort_search_problems/minLengthUnsortedArray.cpp)|
172170
| Find the missing number in Arithmetic Progression | [missingNumber2.cpp](sort_search_problems/missingNumber2.cpp) |
173-
| Find the common elements in 3 sorted arrays | [commonIn3Arrays.cpp](sort_search_problems/commonIn3Arrays.cpp) |
171+
| Find the common elements in 3 sorted vectors | [commonIn3Arrays.cpp](sort_search_problems/commonIn3Arrays.cpp) |
172+
174173
### Graph Problems
175174
| Problem | Solution |
176175
| :------------ | :----------: |

0 commit comments

Comments
 (0)