Skip to content

Commit 9757e2b

Browse files
fixed typo (TheAlgorithms#1363)
Co-authored-by: unknown <nickjr@gmail.com>
1 parent 00e40e6 commit 9757e2b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Backtracking/AllCombinationsOfSizeK.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Problem: Given two numbers, n and k, make all unique combinations of k numbers from 1 to n and in sorted order
33
44
What is combinations?
5-
- Combinations is selecting items from a collections without considering order of selection
5+
- Combinations is selecting items from a collections without considering the order of selection
66
77
Example:
88
- We have an apple, a banana, and a jackfruit

Data-Structures/Array/LocalMaximomPoint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Notes:
55
* - works by using divide and conquer
6-
* - the function gets the array A with n Real numbers and returns the local max point index (if more than one exists return the first one)
6+
* - the function gets the array A with n Real numbers and returns the index of local max point (if more than one exists return the first one)
77
*
88
* @complexity: O(log(n)) (on average )
99
* @complexity: O(log(n)) (worst case)

Data-Structures/Graph/Graph2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Graph {
4242

4343
// iterate over the vertices
4444
for (const i of getKeys) {
45-
// great the corresponding adjacency list
45+
// get the corresponding adjacency list
4646
// for the vertex
4747
const getValues = this.AdjList.get(i)
4848
let conc = ''

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy