Skip to content

Commit 068ff96

Browse files
committed
fix: correct spelling errors in SubsequenceRecursive.js
1 parent c3a85b6 commit 068ff96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Recursive/SubsequenceRecursive.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
* A Subsequence is sequence obtained by deleting some or no elements without changing the order of elements
66
* Example: Given a string = "abcd"
77
* 1. "abc" is a subsequence
8-
* 2. "abd" is a subsequence
8+
* 2. `abd` is a subsequence
99
* 3. But "ba" is not a subsequence (because order is changed)
1010
*
1111
* What is lexicographical order?
1212
* In simple terms, lexicographical order is dictionary order.
1313
* Example: Given a string = "abcd"
1414
* 1. "abc" will come before "abcd".
15-
* 2. "abd" will come before "ac".
15+
* 2. `abd` will come before "ac".
1616
*
1717
* References for meaning of subsequence & lexicographical:
1818
* https://en.wikipedia.org/wiki/Subsequence

0 commit comments

Comments
 (0)