摘要:
原题链接https://leetcode.com/problems/special-binary-string/ 题目描述 Special binary strings are binary strings with the following two properties: The number 阅读全文
摘要:
原题链接https://leetcode.com/problems/number-of-atoms/ 题目描述 Given a chemical formula (given as a string), return the count of each atom. An atomic element 阅读全文
摘要:
给定一个数列 1 1 1 3 5 9 17……,这个数列第四项开始等于前三项的和,让你求出第20190324项的最后四位数。 package BlueCup; public class Main { public static void main(String[] args) { long res 阅读全文
摘要:
原题链接https://leetcode.com/problems/partition-to-k-equal-sum-subsets/ 题目描述 Given an array of integers nums and a positive integer k, find whether it’s p 阅读全文
摘要:
原题链接https://leetcode.com/problems/longest-univalue-path 题目描述 Given a binary tree, find the length of the longest path where each node in the path has 阅读全文