We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 068ff96 commit 58e4801Copy full SHA for 58e4801
Recursive/SubsequenceRecursive.js
@@ -5,14 +5,14 @@
5
* A Subsequence is sequence obtained by deleting some or no elements without changing the order of elements
6
* Example: Given a string = "abcd"
7
* 1. "abc" is a subsequence
8
- * 2. `abd` is a subsequence
+ * 2. "acd" is a subsequence
9
* 3. But "ba" is not a subsequence (because order is changed)
10
*
11
* What is lexicographical order?
12
* In simple terms, lexicographical order is dictionary order.
13
14
* 1. "abc" will come before "abcd".
15
- * 2. `abd` will come before "ac".
+ * 2. "acd" will come before "ac".
16
17
* References for meaning of subsequence & lexicographical:
18
* https://en.wikipedia.org/wiki/Subsequence
0 commit comments