Skip to content

Commit b77a438

Browse files
authored
Update README.md
1 parent 47fe513 commit b77a438

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,5 @@ Given a binary tree, determine if it is a valid Binary Search Tree (BST).
101101
[**ValidParentheses.java**](https://github.com/techieJarek/coding-problems/blob/master/ValidParentheses.java) - Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
102102
The brackets must close in the correct order, "()" and "()[]{}" are all valid but "(]" and
103103
"([)]" are not.
104+
105+
[**AppleOrchardTree.java**](https://github.com/techieJarek/coding-problems/blob/master/AppleOrchardTree.java) - A girl is walking along an apple orchard with a bag in each hand. She likes to pick apples from each tree as she goes along, but is meticulous about not putting different kinds of apples in the same bag. Given an input describing the types of apples she will pass on her path, in order, determine the length of the longest portion of her path that consists of just two types of apple trees.

0 commit comments

Comments
 (0)