标签: 算法
-
leetcode讲解–496. Next Greater Element I
You are given two arrays (without duplicates) nums1 and…
-
leetcode讲解–566. Reshape the Matrix
In MATLAB, there is a very useful function called ‘resh…
-
leetcode讲解–841. Keys and Rooms
There are N rooms and you start in room 0. Each room ha…
-
leetcode讲解–575. Distribute Candies
Given an integer array with even length, where differen…
-
Conflux & TokenGazer AMA活动内容回顾
12月27日,Conflux受邀参与TokenGazer举办的在线问答活动,Conflux CTO伍鸣博士与参…
-
javascript算法基础之01背包,完全背包,多重背包实现
给定一组物品,每种物品都有自己的重量和价格,在限定的总重量内,我们如何选择,才能使得物品的总价格最高。
-
leetcode讲解–868. Binary Gap
Given a positive integer N, find and return the longest…
-
leetcode讲解–669. Trim a Binary Search Tree
Given a binary search tree and the lowest and highest b…
-
leetcode讲解–877. Stone Game
Alex and Lee play a game with piles of stones. There ar…
-
leetcode讲解–682. Baseball Game
Given a list of strings, each string can be one of the …