摘要:
Easy Given an array of distinct integers arr, find all pairs of elements with the minimum absolute difference of any two elements. Return a list of pa 阅读全文
摘要:
Easy Given an n-ary tree, return the postorder traversal of its nodes' values. For example, given a 3-ary tree: Return its postorder traversal as: [5, 阅读全文
摘要:
Easy Write a class RecentCounter to count recent requests. It has only one method: ping(int t), where t represents some time in milliseconds. Return t 阅读全文
摘要:
Easy Students are asked to stand in non-decreasing order of heights for an annual photo. Return the minimum number of students not standing in the rig 阅读全文
摘要:
Easy Given an n-ary tree, return the preorder traversal of its nodes' values. For example, given a 3-ary tree: Return its preorder traversal as: [1,3, 阅读全文
摘要:
Easy Every email consists of a local name and a domain name, separated by the @ sign. For example, in alice@leetcode.com, alice is the local name, and 阅读全文
摘要:
Easy You are given an array of strings words and a string chars. A string is good if it can be formed by characters from chars (each character can onl 阅读全文