leetcode-potd

2418. Sort the People

leetcode-potd

You are given an array of strings names, and an array heights that consists of distinct positive integers. Both arrays are of length n. For each

2196. Create Binary Tree From Descriptions

leetcode-potd

You are given a 2D integer array descriptions where descriptions[i] = [parenti, childi, isLefti] indicates that parenti is the parent of childi in a binary tree of unique values. Furthermore, If isLefti == 1, then childi is

Scroll to Top