Posted in JAVA

453.javascript验证价格输入的合法性

HTML代码: 请输入价格: <input …

Continue Reading
Posted in LeetCode

LeetCode 971. Reshape the Matrix(重塑矩阵)

题目描述 In MATLAB, there is …

Continue Reading
Posted in LeetCode

LeetCode 823. Baseball Game(棒球赛)

题目描述 You’re now a b…

Continue Reading
Posted in LeetCode

LeetCode 716. Distribute Candies

题目描述 Given an integer arr…

Continue Reading
Posted in LeetCode

LeetCode 671. Reverse Words in a String III

题目描述 Given a string, you …

Continue Reading
Posted in LeetCode

LeetCode 142. Array Partition I

题目描述 Given an array of 2n…

Continue Reading
Posted in LeetCode

LeetCode 321. Merge Two Binary Trees

题目描述 Given two binary tre…

Continue Reading
Posted in LeetCode

LeetCode 124. Judge Route Circle

题目描述 Initially, there is …

Continue Reading
Posted in JAVA

JavaScript保留两位小数的函数

对于一些小数点后有多位的浮点数,我们可能只需要保留…

Continue Reading
Posted in JAVA

用js检验mac地址

现在提供两种方法判断。 方法一: var temp…

Continue Reading
Posted in LeetCode

LeetCode 987. Maximum Depth of Binary Tree

题目描述 Given a binary tree,…

Continue Reading
Posted in LeetCode

LeetCode 678. Detect Capital

题目描述 Given a word, you ne…

Continue Reading