leetcode

leetcode

951 Flip Equivalent Binary Trees

Link: https://leetcode.com/problems/flip-equivalent-binary-trees/  Thought If 2 nodes are equivalent, either their left and right side match, or they are flipped match. So […]

leetcode

949 Largest Time for Given Digits

link: https://leetcode.com/problems/largest-time-for-given-digits/ Thought Its easy to think use DFS to solve it: it has limit data(4 digits), and DFS will enumerates

Scroll to Top