最新 最热

用Java的大整数类Integer来实现大整数的一些运算

import java.io.*;import java.util.*;import java.math.*;public class Main { public static void main(String[] args) { Scanner sc = new Scanner(Syst...

2019-10-08
0

605. Can Place Flowers

Suppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted in adjacent plots - they would com...

2019-09-10
1

219. Contains Duplicate II

Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the absolute d...

2019-09-10
1

【小家java】Java中对时间戳相加减的问题(向前推100天,答案却让我匪夷所思)

关于时间的计算,会体现在我们程序的方方面面。然后我最近在写一个需求的时候,躺了一个大坑

2019-09-03
1

【LeetCode题解-012】Integer to Roman

Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.

2019-09-03
0

设计模式之简单工厂模式

简单工厂模式 Simple Factory Pattern 也叫静态工厂方法模式 Static Factory Method Pattern,隶属于设计模式中的创建型模式。简单工厂通过一个静态方法来给使用方提供类创建的方式,将对象创建的控制权由使用方转换到提...

2019-08-05
1

CSS之——Flex(二)

Hello小伙伴们,好多天不见,我兔妞又杀回来了!今天继续我们的Flex吧~之前讲的是不是都忘了

2019-07-25
1

【leetcode刷题】T47-超级丑数

Write a program to find the nth super ugly number.

2019-07-18
1

【leetcode刷题】T45-丑数

Write a program to check whether a given number is an ugly number.

2019-07-18
1

【leetcode刷题】T42-快乐数

Write an algorithm to determine if a number is "happy".

2019-07-18
1