Skip to content

Commit 464b72e

Browse files
mah-shamimkovatztopugitbasharul-siddikehafijul233
committed
#255, #256 leetcode problems 001208-get-equal-substrings-within-budget submissions 1270537145
Co-authored-by: kovatz <kovatz.it@gmail.com> Co-authored-by: topugit <topu119@hotmail.com> Co-authored-by: basharul-siddike <basharulsiddike@gmail.com> Co-authored-by: hafijul233 <hafijul233@gmail.com>
1 parent 2a57977 commit 464b72e

File tree

1 file changed

+3
-3
lines changed
  • algorithms/001208-get-equal-substrings-within-budget

1 file changed

+3
-3
lines changed

algorithms/001208-get-equal-substrings-within-budget/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,17 @@ function equalSubstring($s, $t, $maxCost) {
9696
$s = "abcd";
9797
$t = "bcdf";
9898
$maxCost = 3;
99-
echo equalSubstring($s, $t, $maxCost) . "\n"; // Output: 17
99+
echo equalSubstring($s, $t, $maxCost) . "\n"; // Output: 3
100100

101101
$s = "abcd";
102102
$t = "cdef";
103103
$maxCost = 3;
104-
echo equalSubstring($s, $t, $maxCost) . "\n"; // Output: 4
104+
echo equalSubstring($s, $t, $maxCost) . "\n"; // Output: 1
105105

106106
$s = "abcd";
107107
$t = "acde";
108108
$maxCost = 0;
109-
echo equalSubstring($s, $t, $maxCost) . "\n"; // Output: 10
109+
echo equalSubstring($s, $t, $maxCost) . "\n"; // Output: 1
110110
?>
111111
```
112112

0 commit comments

Comments
 (0)