[LeetCode] Decode Ways II 解码方法之二

 A message containing letters from A-Z is being encoded to numbers using the following mapping way:'A' -> 1'B' -> 2...'Z' -> 2

[LeetCode] Shopping Offers 购物优惠

 In LeetCode Store, there are some kinds of items to sell. Each item has a price.However, there are some special offers, and a special offer cons

[LeetCode] Average of Levels in Binary Tree 二叉树的层平均值

 Given a non-empty binary tree, return the average value of the nodes on each level in the form of an array.Example 1:Input: 3 / \ 9 20

[LeetCode] Exclusive Time of Functions 函数的独家时间

 Given the running logs of n functions that are executed in a nonpreemptive single threaded CPU, find the exclusive time of these funct

[LeetCode] Design Log Storage System 设计日志存储系统

 You are given several logs that each log contains a unique id and timestamp. Timestamp is a string that has the following format: Year:Mont

[LeetCode] Find the Derangement of An Array 找数组的错排

 In combinatorial mathematics, a derangement is a permutation of the elements of a set, such that no element appears in its original position.The

[LeetCode] Smallest Range 最小的范围

 You have k lists of sorted integers in ascending order. Find the smallest range that includes at least one number from each

[LeetCode] Sum of Square Numbers 平方数之和

 Given a non-negative integer c, your task is to decide whether there're two integers a and b such that a2 + b2&nbs

[LeetCode] Design Excel Sum Formula 设计Excel表格求和公式

 Your task is to design the basic function of Excel and implement the function of sum formula. Specifically, you need to implement the following

[LeetCode] Delete Operation for Two Strings 两个字符串的删除操作

 Given two words word1 and word2, find the minimum number of steps required to make word1 and word2 the same,