240 发简信
IP属地:广东
  • LeetCode96. Unique Binary Search Trees

    一、原题 Given n, how many structurally unique BST's (binary search trees) t...

  • Sicily1005. 最大和

    一、原题 从数列A[0], A[1], A[2], ..., A[N-1]中选若干个数,要求相邻的数不能都选,也就是说如果选了A[i], 就不能...

  • Sicily1003. 相连的1

    一、原题 对于一个01矩阵A,求其中有多少片连成一片的1。每个1可以和上下左右的1相连。 请为下面的Solution类实现解决这一问题的函数co...

  • LeetCode343. Integer Break

    一、原题 Given a positive integer n, break it into the sum of at least two p...

  • LeetCode279. Perfect Squares

    一、原题 Given a positive integer n, find the least number of perfect square...

  • LeetCode122. Best Time to Buy and Sell Stock II

    一、原题 Say you have an array for which the ith element is the price of a g...

  • LeetCode264. Ugly Number II

    一、原题 Write a program to find the n-th ugly number. Ugly numbers are posi...

  • LeetCode198. House Robber

    198. 动态规划:偷马 一、原题 You are a professional robber planning to rob houses a...

  • Resize,w 360,h 240
    Java运行时数据区域

    Java虚拟机在执行Java程序过程中会把内存区域划分为若干个不同的数据区域,这些区域各有各自的用途、创建和销毁时间。 程序计数器 程序计数器占...

    1.2 4693 3 27