Skip to content

Commit d7b12a2

Browse files
committed
up 26/02 pod
1 parent 5680cd5 commit d7b12a2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • JavaPractice/EscapeTheForbiddenForest

JavaPractice/EscapeTheForbiddenForest/Readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Escape the Forbidden Forest
22
Penelope and her classmates are lost in the Forbidden Forest and the Devil is out to get them. But Penelope has magical powers that can build bridges across the dangerous river and take her friends to safety. The only bridges that can withstand the Devil's wrath are the ones built between two similar trees in the forest.
3-
Given str1 and str2 denoting the order of trees on either side of the river, find the maximum number of bridges that Penelope can build and save everyone from the Devil.
3+
Given str1 and str2 denoting the order of trees on either side of the river, find the maximum number of bridges that Penelope can build and save everyone from the Devil.
4+
45
**Note:** Each tree in the forest belongs to one of the 3 categories represented by * or # or @ [🔗Goto](https://practice.geeksforgeeks.org/problems/a4f19ea532cee502aabec77c07e0d0a45b76ecf9/1#)
56

67
<details>

0 commit comments

Comments
 (0)