| 241 |
Subtree Inversion Sum |
Hard |
ArrayDynamic ProgrammingTree |
| 242 |
Subtree of Another Tree |
Easy |
TreeDepth-First SearchString Matching |
| 243 |
Subtree Removal Game with Fibonacci Tree |
Hard |
MathDynamic ProgrammingTree |
| 244 |
Sum of Distances in Tree |
Hard |
Dynamic ProgrammingTreeDepth-First Search |
| 245 |
Sum of Left Leaves |
Easy |
TreeDepth-First SearchBreadth-First Search |
| 246 |
Sum of Nodes with Even-Valued Grandparent |
Medium |
TreeDepth-First SearchBreadth-First Search |
| 247 |
Sum of Root To Leaf Binary Numbers |
Easy |
TreeDepth-First SearchBinary Tree |
| 248 |
Sum Root to Leaf Numbers |
Medium |
TreeDepth-First SearchBinary Tree |
| 249 |
Symmetric Tree |
Easy |
TreeDepth-First SearchBreadth-First Search |
| 250 |
Throne Inheritance |
Medium |
Hash TableTreeDepth-First Search |
| 251 |
Time Needed to Inform All Employees |
Medium |
TreeDepth-First SearchBreadth-First Search |
| 252 |
Time Taken to Mark All Nodes |
Hard |
Dynamic ProgrammingTreeDepth-First Search |
| 253 |
Tree Diameter |
Medium |
TreeDepth-First SearchBreadth-First Search |
| 254 |
Tree of Coprimes |
Hard |
ArrayMathTree |
| 255 |
Trim a Binary Search Tree |
Medium |
TreeDepth-First SearchBinary Search Tree |