Skip to content

Commit 540d11f

Browse files
committed
fix little typos
1 parent 17db8f3 commit 540d11f

File tree

6 files changed

+8
-10
lines changed

6 files changed

+8
-10
lines changed

algorithm/dp/fibonacci/desc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"Fivonacci": "Finding fibonacci sequence using dynamic programming.",
2+
"Fibonacci Sequence": "Finding Fibonacci sequence using dynamic programming.",
33
"Complexity": {
4-
"time": "O(n<sup>2</sup>",
4+
"time": "O(n<sup>2</sup>)",
55
"space": "O(n)"
66
},
77
"References": [

algorithm/dp/knapsack_problem/desc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Knapsack problem": "Given a set of items, each with a weight and a value, determine the number of each item to include in a collection so that the total weight is less than or equal to a given limit and the total value is as large as possible.",
2+
"Knapsack Problem": "Given a set of items, each with a weight and a value, determine the number of each item to include in a collection so that the total weight is less than or equal to a given limit and the total value is as large as possible.",
33
"Complexity": {
44
"time": "O(n<sup>2</sup>",
55
"space": "O(n<sup>2</sup>)"

algorithm/dp/longest_increasing_subsequence/desc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Longest increasing subsequence": "Find the length of the longest subsequence of a given sequence such that all elements of the subsequence are sorted in increasing order",
2+
"Longest Increasing Subsequence": "Find the length of the longest subsequence of a given sequence such that all elements of the subsequence are sorted in increasing order",
33
"Complexity": {
44
"time": "O(n(log n))",
55
"space": "O(n)"

algorithm/dp/max_subarray/desc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Maximum subarray": "Find the sum of the maximum Subarray in the given Array",
2+
"Maximum Subarray": "Find the sum of the maximum Subarray in the given Array",
33
"Complexity": {
44
"time": "O(n)",
55
"space": "O(n)"

algorithm/dp/max_sum_path/desc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
2-
"Maximum sum path": "Finding the maximum sum in a path from (0, 0) to (N-1, M-1) when can only move to right or down",
2+
"Maximum Sum Path": "Finding the maximum sum in a path from (0, 0) to (N-1, M-1) when can only move to right or down",
33
"Complexity": {
44
"time": "O(n)",
55
"space": "O(n)"
66
},
77
"References": [
8-
"<a href='https://en.wikipedia.org/'>Wikipedia</a>"
98
],
109
"files": {
1110
"basic": "Maximum sum path"
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
2-
"Sliding window": "Finding the largest sum of three contiguous number",
2+
"Sliding Window": "Finding the largest sum of three contiguous number",
33
"Complexity": {
44
"time": "O(n)",
55
"space": "O(n)"
66
},
77
"References": [
8-
"<a href='https://en.wikipedia.org/'>Wikipedia</a>"
98
],
109
"files": {
11-
"basic": "Sliding windows"
10+
"basic": "Sliding window"
1211
}
1312
}

0 commit comments

Comments
 (0)