Skip to content

Commit d92d7a7

Browse files
authored
Merge branch 'master' into feat/manacher-algorithm-implementation
2 parents 39c5130 + 3e4cdb2 commit d92d7a7

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Algorithms.Tests/Graph/KosarajuTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void GetRepresentativesTest()
2929
graph.AddEdge(vertex5, vertex4, 1);
3030
graph.AddEdge(vertex5, vertex6, 1);
3131

32-
// Run the agorithm and obtain the representative vertex of the SCC to which each vertex belongs.
32+
// Run the algorithm and obtain the representative vertex of the SCC to which each vertex belongs.
3333
Dictionary<Vertex<int>, Vertex<int>> result = Kosaraju<int>.GetRepresentatives(graph);
3434

3535
// Check every Vertex belongs to a SCC

Algorithms/Crypto/Paddings/Pkcs7Padding.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public int AddPadding(byte[] input, int inputOffset)
7474
/// <summary>
7575
/// Removes the PKCS7 padding from the given input data.
7676
/// </summary>
77-
/// <param name="input">The input data with PKCS7 padding. Must not be null and must have a vaild length and padding.</param>
77+
/// <param name="input">The input data with PKCS7 padding. Must not be null and must have a valid length and padding.</param>
7878
/// <returns>The input data without the padding as a new byte array.</returns>
7979
/// <exception cref="ArgumentException">
8080
/// Thrown if the input data is null, has an invalid length, or has an invalid padding.

Algorithms/Numeric/Pseudoinverse/PseudoInverse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Algorithms.Numeric.Pseudoinverse;
66
/// The Moore–Penrose pseudo-inverse A+ of a matrix A,
77
/// is a general way to find the solution to the following system of linear equations:
88
/// ~b = A ~y. ~b e R^m; ~y e R^n; A e Rm×n.
9-
/// There are varios methods for construction the pseudo-inverse.
9+
/// There are various methods for construction the pseudo-inverse.
1010
/// This one is based on Singular Value Decomposition (SVD).
1111
/// </summary>
1212
public static class PseudoInverse

DataStructures/AVLTree/AVLTree.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ private AvlTreeNode<TKey> Add(AvlTreeNode<TKey> node, TKey key)
360360
throw new ArgumentException($"""Key "{key}" already exists in AVL tree.""");
361361
}
362362

363-
// Check all of the new node's ancestors for inbalance and perform
363+
// Check all of the new node's ancestors for imbalance and perform
364364
// necessary rotations
365365
node.UpdateBalanceFactor();
366366

0 commit comments

Comments
 (0)