Skip to content

Commit 5d4d326

Browse files
committed
.
1 parent 121f8d8 commit 5d4d326

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

2024 January/Daily 05-01-24.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
# Intuition
44
<!-- Describe your first thoughts on how to solve this problem. -->
55
- Dynamic Programming
6-
- - Algorithm must uses dynamic programming to efficiently update and maintain the longest increasing subsequence.
6+
- - My algorithm must use dynamic programming to efficiently update and maintain the longest increasing subsequence.
77
- Greedy Choice
8-
- - The algorithm must makes a greedy choice to update the current longest increasing subsequence (a) based on the incoming elements from the input array (nums).
8+
- - My algorithm must makes a greedy choice to update the current longest increasing subsequence (a) based on the incoming elements from the input array (nums).
9+
910

1011

1112
# Approach
1213
<!-- Describe your approach to solving the problem. -->
13-
- ArrayList a
14+
- ArrayList 'a'
1415
- - I used 'a' to store the current longest increasing subsequence.
1516
- - It starts as an empty ArrayList.
1617
- Iterating through nums

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ This is my attempt to make the coding experience easier for you guys so that you
1010
# Intuition
1111
<!-- Describe your first thoughts on how to solve this problem. -->
1212
- Dynamic Programming
13-
- - Algorithm must uses dynamic programming to efficiently update and maintain the longest increasing subsequence.
13+
- - My algorithm must use dynamic programming to efficiently update and maintain the longest increasing subsequence.
1414
- Greedy Choice
15-
- - The algorithm must makes a greedy choice to update the current longest increasing subsequence (a) based on the incoming elements from the input array (nums).
15+
- - My algorithm must makes a greedy choice to update the current longest increasing subsequence (a) based on the incoming elements from the input array (nums).
1616

1717

1818
# Approach
1919
<!-- Describe your approach to solving the problem. -->
20-
- ArrayList a
20+
- ArrayList 'a'
2121
- - I used 'a' to store the current longest increasing subsequence.
2222
- - It starts as an empty ArrayList.
2323
- Iterating through nums

0 commit comments

Comments
 (0)