摘要:
You are starving and you want to eat food as quickly as possible. You want to find the shortest path to arrive at any food cell. You are given an m x 阅读全文
摘要:
Given the postfix tokens of an arithmetic expression, build and return the binary expression tree that represents this expression. Postfix notation is 阅读全文
摘要:
You have a queue of integers, you need to retrieve the first unique integer in the queue. Implement the FirstUnique class: FirstUnique(int[] nums) Ini 阅读全文
摘要:
You have some number of sticks with positive integer lengths. These lengths are given as an array sticks, where sticks[i] is the length of the ith sti 阅读全文
摘要:
You are given two string arrays username and website and an integer array timestamp. All the given arrays are of the same length and the tuple [userna 阅读全文
摘要:
There are n cities labeled from 1 to n. You are given the integer n and an array connections where connections[i] = [xi, yi, costi] indicates that the 阅读全文
摘要:
Given the root of a binary tree, return the maximum average value of a subtree of that tree. Answers within 10-5 of the actual answer will be accepted 阅读全文