Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 53cd4fb

Browse files
shlomiftrekhleb
authored andcommitted
Correct some grammar in the README. (trekhleb#39)
1 parent 56ff37d commit 53cd4fb

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

‎README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
This repository contains JavaScript based examples of many
77
popular algorithms and data structures.
88

9-
Each algorithm and data structure have its own separate README
10-
with related explanations and links for further reading and YouTube
11-
videos.
9+
Each algorithm and data structure has its own separate README
10+
with related explanations and links for further reading (including ones
11+
to YouTube videos).
1212

1313
_Read this in other languages:_
1414
[简体中文](https://github.com/trekhleb/javascript-algorithms/blob/master/README.zh-CN.md),
1515
[繁體中文](https://github.com/trekhleb/javascript-algorithms/blob/master/README.zh-TW.md)
1616

1717
## Data Structures
1818

19-
Data structure is a particular way of organizing and storing data in a computer so that it can
19+
A data structure is a particular way of organizing and storing data in a computer so that it can
2020
be accessed and modified efficiently. More precisely, a data structure is a collection of data
2121
values, the relationships among them, and the functions or operations that can be applied to
2222
the data.
@@ -37,8 +37,8 @@ the data.
3737

3838
## Algorithms
3939

40-
Algorithm is an unambiguous specification of how to solve a class of problems. Algorithm is
41-
a set of rules that precisely defines a sequence of operations.
40+
An algorithm is an unambiguous specification of how to solve a class of problems. It is
41+
a set of rules that precisely define a sequence of operations.
4242

4343
### Algorithms by Topic
4444

@@ -51,7 +51,7 @@ a set of rules that precisely defines a sequence of operations.
5151
* [Integer Partition](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/math/integer-partition)
5252
* **Sets**
5353
* [Cartesian Product](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sets/cartesian-product) - product of multiple sets
54-
* [Power Set](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sets/power-set) - all subsets of the set
54+
* [Power Set](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sets/power-set) - all subsets of a set
5555
* [Permutations](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sets/permutations) (with and without repetitions)
5656
* [Combinations](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sets/combinations) (with and without repetitions)
5757
* [Fisher–Yates Shuffle](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sets/fisher-yates) - random permutation of a finite sequence
@@ -60,13 +60,13 @@ a set of rules that precisely defines a sequence of operations.
6060
* [Shortest Common Supersequence](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sets/shortest-common-supersequence) (SCS)
6161
* [Knapsack Problem](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sets/knapsack-problem) - "0/1" and "Unbound" ones
6262
* [Maximum Subarray](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sets/maximum-subarray) - "Brute Force" and "Dynamic Programming" (Kadane's) versions
63-
* **String**
63+
* **Strings**
6464
* [Levenshtein Distance](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/string/levenshtein-distance) - minimum edit distance between two sequences
6565
* [Hamming Distance](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/string/hamming-distance) - number of positions at which the symbols are different
6666
* [Knuth–Morris–Pratt Algorithm](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/string/knuth-morris-pratt) - substring search
6767
* [Rabin Karp Algorithm](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/string/rabin-karp) - substring search
6868
* [Longest Common Substring](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/string/longest-common-substring)
69-
* **Search**
69+
* **Searches**
7070
* [Linear Search](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/search/linear-search)
7171
* [Binary Search](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/search/binary-search)
7272
* **Sorting**
@@ -79,10 +79,10 @@ a set of rules that precisely defines a sequence of operations.
7979
* [Shellsort](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sorting/shell-sort)
8080
* [Counting Sort](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sorting/counting-sort)
8181
* [Radix Sort](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sorting/radix-sort)
82-
* **Tree**
82+
* **Tree Searches**
8383
* [Depth-First Search](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/tree/depth-first-search) (DFS)
8484
* [Breadth-First Search](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/tree/breadth-first-search) (BFS)
85-
* **Graph**
85+
* **Graph Algorithms**
8686
* [Depth-First Search](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/graph/depth-first-search) (DFS)
8787
* [Breadth-First Search](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/graph/breadth-first-search) (BFS)
8888
* [Dijkstra Algorithm](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/graph/dijkstra) - finding shortest path to all graph vertices
@@ -126,7 +126,7 @@ algorithm is an abstraction higher than a computer program.
126126
* [Quicksort](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sorting/quick-sort)
127127
* [Tree Depth-First Search](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/tree/depth-first-search) (DFS)
128128
* [Graph Depth-First Search](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/graph/depth-first-search) (DFS)
129-
* **Dynamic Programming** - build up to a solution using previously found sub-solutions
129+
* **Dynamic Programming** - build up a solution using previously found sub-solutions
130130
* [Fibonacci Number](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/math/fibonacci)
131131
* [Levenshtein Distance](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/string/levenshtein-distance) - minimum edit distance between two sequences
132132
* [Longest Common Subsequence](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sets/longest-common-subsequnce) (LCS)
@@ -137,8 +137,8 @@ algorithm is an abstraction higher than a computer program.
137137
* [Integer Partition](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/math/integer-partition)
138138
* [Maximum Subarray](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/sets/maximum-subarray)
139139
* [Bellman-Ford Algorithm](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/graph/bellman-ford) - finding shortest path to all graph vertices
140-
* **Backtracking** - similarly to brute force try to generate all possible solutions but each time you generate a solution test
141-
if it satisfies all conditions, and only then continue generating subsequent solutions. Otherwise backtrack and go on a
140+
* **Backtracking** - similarly to brute force, try to generate all possible solutions, but each time you generate a solution test
141+
if it satisfies all conditions, and only then continue generating subsequent solutions. Otherwise, backtrack, and go on a
142142
different path of finding solution
143143
* [Hamiltonian Cycle](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/graph/hamiltonian-cycle) - Visit every vertex exactly once
144144
* [N-Queens Problem](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/uncategorized/n-queens)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /