Skip to content

Commit e256dfe

Browse files
iamrajivactions-user
authored andcommitted
Prettified Code!
1 parent 65f1fe0 commit e256dfe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+489
-486
lines changed

C-Plus-Plus/README.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,10 @@
6161
- [Post-order (LRN) Tree Traversal](graphs/Postorder_Traversal.cpp)
6262
- [Pre-order (NLR) Tree Traversal](/graphs/Preorder_Traversal.cpp)
6363
- [Prim's Algorithm](graphs/Prim_Algorithm.cpp)
64-
<<<<<<< HEAD
64+
<<<<<<< HEAD
6565
- [Kosaraju's Algorithm](graphs/Kosaraju_Algorithm.cpp)
66-
- [FloodFill Algorithm](graphs/FloodFill.cpp)
67-
=======
68-
>>>>>>> master
66+
- # [FloodFill Algorithm](graphs/FloodFill.cpp)
67+
> > > > > > > master
6968
7069
## Machine Learning
7170

@@ -90,7 +89,6 @@ _add list here_
9089
- [Longest common subsequence](dp/longest_common_subsequence.cpp)
9190
- [String permutations](dp/string_permutations.cpp)
9291

93-
9492
## Blockchain
9593

9694
_add list here_
@@ -121,4 +119,3 @@ _add list here_
121119
- [String Rotation based on Queries](other/string_rotation.cpp)
122120
- [First Missing Positive Number](other/First_Missing_Positive_Number.cpp)
123121
- [Remove Outermost Parantheses](other/remove_outermost_parenthesis.cpp)
124-

C-Plus-Plus/cp/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C-Plus-Plus/math/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C-Plus-Plus/other/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C-Plus-Plus/search/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C-Sharp/cp/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C-Sharp/dp/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C-Sharp/ds/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C-Sharp/graphs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C-Sharp/math/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C-Sharp/other/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C-Sharp/search/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C-Sharp/sort/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C/README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
# Codes in the C language
1111

12-
1312
## Data Structures
13+
1414
- [Fenwick Tree](ds/FenwickTree.c)
1515
- [Infix to postfix](ds/infix_to_postfix.c)
1616
- [Paranthesis Checker](ds/paranchecker.c)
@@ -22,64 +22,64 @@
2222
- [Singly Linked List Implementation](ds/singly_linked_list.c)
2323
- [Spiral Matrix](ds/Spiral_Matrix.c)
2424

25-
2625
## Searching
26+
2727
- [Binary Search](search/BinarySearch.c)
2828
- [Interpolation Search](search/Interpolation.c)
2929
- [Linear Search](search/linear_search.c)
3030
- [Manacher's Algorithm](search/Manacher's_Algorithm.c)
3131
- [Random Search Monte Carlo version](search/random_search.c)
3232

33-
3433
## Sorting
34+
3535
- [Bubble Sort](sort/bubble_sort.c)
3636
- [Optimized Bubble Sort](sort/OPtimizBubble_Sort.c)
3737
- [Insertion Sort](sort/InsertionSort.c)
3838
- [Merge Sort](sort/MergeSort.c)
39-
- [Merge Sort in O(1) space complexity](sort/mergesort_in_O(1)_space_complexity.c)
39+
- [Merge Sort in O(1) space complexity](<sort/mergesort_in_O(1)_space_complexity.c>)
4040
- [OddEven Sort](sort/oddevensort.c)
4141
- [Selection Sort](sort/selection_sort.c)
4242
- [Shell Sort](sort/ShellSort.c)
4343
- [Matrix Sort](sort/MatrixSorting.c)
4444

45-
4645
## Dynamic Programming
46+
4747
- [EditDistance in Dp](dp/EditDistanceDP.c)
4848
- [N-Queen](https://github.com/subhayu99/NeoAlgo/blob/master/C/dp/N-Queen.c)
4949

50-
5150
## Graphs
51+
5252
- [Kruskal's Algorithm](graphs/Kruskal_Algorithm.c)
5353
- [Prim's Algorithm](graphs/Prim_Algorithm.c)
5454

55-
5655
## Machine Learning
57-
_add list here_
5856

57+
_add list here_
5958

6059
## Mathematics
60+
6161
- [Binary Exponentiation](math/Binary_Exponentiation.c)
6262
- [GCD By Euclidean Algorithm](math/GCD_In_C.c)
6363
- [Sieve of Eratosthenes](math/Sieve_of_Eratosthenes.c)
6464

65-
6665
## Other
66+
6767
- [Number_of_duplicates_using_Binary_search](other/Number_of_duplicates_using_Binary_search.c)
6868
- [Tower of Hanoi](other/Tower_Of_Hanoi.c)
6969

70-
7170
## CP
71+
7272
- [Activity Selection](cp/Activity_selection.c)
7373
- [Anagram Program](cp/anagram_program.c)
7474
- [First Missing Positive Integer](cp/first_missing_positive_integer.c)
7575
- [Max Sub Array Sum](cp/maxSubArraySum.c)
7676
- [Sum of Triplet](cp/sum_of_triplet.c)
7777

78-
7978
## Cryptography
79+
8080
- [Affine Substitution Cipher](cryptography/Affine_Substitution_Cipher.c)
8181
- [Caesar Cipher Algorithm](cryptography/caesar_cipher.c)
8282

83-
8483
## Blockchain
84+
8585
_add list here_

C/cp/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
<img alt="Github All Contributors" src="https://img.shields.io/github/all-contributors/tesseractcoding/neoalgo">
88
</p>
99

10-
11-
1210
# Codes in the C language
1311

1412
## Competitive Programming
1513

16-
[Kadane's Algorithm for max sum subArray](cp/Kadane's_Alogorithm.c)
14+
[Kadane's Algorithm for max sum subArray](cp/Kadane's_Alogorithm.c)

C/dp/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Dynamic Programming
2-
- [Fibonacci Nth term](dp/Fibonacci.c)
2+
3+
- [Fibonacci Nth term](dp/Fibonacci.c)

C/ds/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C/ds/infix_to_postfix.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Conversion of an infix expression to postfix expression.
22

33
An Infix expression is an expression where operators are written in-between the operands. Example:- A+B.
4-
Infix expressions are readable and solvable by humans.
4+
Infix expressions are readable and solvable by humans.
55
But the computer cannot differentiate the operators and parenthesis easily, that’s why conversion to postfix expression is needed.
66
i.e, Operators are written after their operands. Example:- AB+
77

8-
### To convert infix expression to postfix expression, we will use the *Stack Data Structure*.
8+
### To convert infix expression to postfix expression, we will use the _Stack Data Structure_.
99

1010
### The following is the process how the conversion of an infix expression to postfix expression takes place using stack data structure.
1111

C/graphs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C/other/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C/search/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

C/sort/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

CONTRIBUTORS.md

+1
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,5 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
141141

142142
<!-- markdownlint-enable -->
143143
<!-- prettier-ignore-end -->
144+
144145
<!-- ALL-CONTRIBUTORS-LIST:END -->

Go/README.md

+21-11
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,47 @@
1010
# Codes in the Golang language
1111

1212
## Blockchain
13+
1314
_add list here_
1415

1516
## Competitive Programming
16-
* [Target Sum Triplets](./cp/target_sum_triplets.go)
17+
18+
- [Target Sum Triplets](./cp/target_sum_triplets.go)
1719

1820
## Cryptography
21+
1922
_add list here_
2023

2124
## Data Structures
22-
* [Inorder Tree Traversal](ds/inorder_traversal_binarytree.go)
23-
* [Queue using Stack](./ds/queue_using_stack.go)
24-
* [Singly Linked List](./ds/singly_linked_list.go)
25-
* [Stack](./ds/Stack.go)
26-
* [Stack using Queue](./ds/stack_using_queue.go)
25+
26+
- [Inorder Tree Traversal](ds/inorder_traversal_binarytree.go)
27+
- [Queue using Stack](./ds/queue_using_stack.go)
28+
- [Singly Linked List](./ds/singly_linked_list.go)
29+
- [Stack](./ds/Stack.go)
30+
- [Stack using Queue](./ds/stack_using_queue.go)
2731

2832
## Dynamic Programming
33+
2934
_add list here_
3035

3136
## Machine Learning
37+
3238
_add list here_
3339

3440
## Mathematics
35-
* [Karatsuba Multiplication](./math/karatsuba_multiplication.go)
41+
42+
- [Karatsuba Multiplication](./math/karatsuba_multiplication.go)
3643

3744
## Other
45+
3846
_add list here_
3947

4048
## Searching
41-
* [Binary Search](/search/binary_search.go)
42-
* [Linear Search](/search/linear_search.go)
49+
50+
- [Binary Search](/search/binary_search.go)
51+
- [Linear Search](/search/linear_search.go)
4352

4453
## Sorting
45-
* [Merge Sort Parallel](./sort/merge_sort_parallel.go)
46-
* [Merge Sort Sequantial](./sort/merge_sort_sequential.go)
54+
55+
- [Merge Sort Parallel](./sort/merge_sort_parallel.go)
56+
- [Merge Sort Sequantial](./sort/merge_sort_sequential.go)

Go/cp/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

Go/dp/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

Go/ds/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

Go/graphs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

Go/math/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

Go/other/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

Go/search/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

Go/sort/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

Java/README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,15 @@ _add list here_
8080
- [Sieve of Eratosthenes](math/SieveOfEratosthenes.java)
8181
- [Double Factorial](math/DoubleFactorial.java)
8282

83-
8483
## Dynamic Programming
85-
* [Kandane Algorithm](dp/Kadane_Algorithm.java)
86-
* [Longest common subsequence](dp/LCS.java)
84+
85+
- [Kandane Algorithm](dp/Kadane_Algorithm.java)
86+
- [Longest common subsequence](dp/LCS.java)
87+
8788
## Blockchain
89+
8890
_add list here_
91+
8992
## Searching
9093

9194
- [Binary Search](search/Binary_search.java)

Java/cp/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

Java/dp/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

Java/ds/Queue.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The order is First In First Out (FIFO).
99
The real life examples are queue in front of counter ,queue of students.
1010

1111
## Operations
12+
1213
The operations that are performed on a queue are
1314
1)Enqueue
1415
2)Dequeue

Java/ds/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a
1+
a

0 commit comments

Comments
 (0)