最新 最热

【每天一道编程系列-2018.3.11】—— A + B Problem

Write a function that add two numbers A and B. You should not use + or any arithmetic operators.

2019-03-14
0

<DQueue、双端队列、滑动窗口>239.Sliding Window Maximum

Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k numbers in th...

2019-02-25
0

LeetCode202 Happy Number

Write an algorithm to determine if a number is “happy”.

2019-02-19
1

leetcode 2 Add Two Numbers

You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Ad...

2019-01-18
0

Codeforces Round #513 A. Phone Numbers(水题)

题目链接:http://codeforces.com/contest/1060/problem/A

2019-01-10
0

LeetCode(一)

Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly o...

2018-09-04
0

LeetCode Add Two Numbers

You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single...

2018-09-04
1

LeetCode 118 Pascal's Triangle

Given a non-negative integer numRows, generate the first numRows of Pascal's triangle.

2018-07-24
1

leetCode刷题(找出数组里的两项相加等于定值)

最近被算法虐了一下,刷一下leetcode,找找存在感如题:Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that ea......

2018-06-14
0

leetcode 2 Add two numbers

public class Solution { public ListNode addTwoNumbers(ListNode l1, ListNode l2) { ListNode dummy = new ListNode(-1); ListNode cur = dummy; ...

2018-06-04
0