Skip to main content

5 docs tagged with "String matching"

View all tags

Rotate String

This is a solution to the Rotate String problem on LeetCode.

Subtree of Another Tree(LeetCode)

Given the roots of two binary trees root and subRoot, return true if there is a subtree of root with the same structure and node values of subRoot and false otherwise.