自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

转载 双指针类

双指针类有序数组的 Two Sumleetcode.0167. Two Sum II - Input array is sortedInput: numbers = [2,7,11,15], target = 9Output: [1,2]Explanation: The sum of 2 and 7 is 9. Therefore index1 = 1, index2 ...

2018-08-31 10:50:14 178

原创 leetcode.0633. Sum of Square Numbers

leetcode.0633. Sum of Square NumbersInput: 5Output: TrueExplanation: 1 * 1 + 2 * 2 = 5题目描述:判断一个数是否为两个数的平方和,例如 5 = 1^2 + 2^2。C++class Solution {public: bool judgeSquareSum(int c) { ...

2018-08-30 12:44:55 146

原创 leetcode.0167. Two Sum II - Input array is sorted

leetcode.0167. Two Sum II - Input array is sorted题目Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number.The ...

2018-08-17 12:37:50 125

转载 leetcode.0021. Merge Two Sorted Lists

leetcode.0021. Merge Two Sorted Lists题目Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.Example:...

2018-07-27 15:19:26 125

转载 leetcode.0020. Valid Parentheses

leetcode.0020. Valid Parentheses题目Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[’ and ‘]’, determine if the input string is valid. An input string is valid if: - Open br...

2018-07-25 22:32:16 115

原创 leetcode.0014. Longest Common Prefix

leetcode.0014. Longest Common Prefix题目Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string “”.Example 1:...

2018-07-21 10:39:17 143

原创 leetcode.0013. Roman to Integer

leetcode.0013. Roman to Integer题目Roman numerals are represented by seven different symbols: I, V, X, L, C, D and MSymbol ValueI 1V 5X 10L ...

2018-07-20 17:16:01 145

原创 leetcode.0009. Palindrome Number

leetcode0009. Palindrome Number题目Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.Example 1:Input: 121Output: true...

2018-07-18 17:16:43 96

原创 TensorFlow 训练 神经网络(p59)

TensorFlow 训练 神经网络(p59)神经网络反向传播优化流程图 参考书本:TensorFlow 实战google深度学习框架# -*- coding: utf-8 -*-"""Created on Sat Jun 23 16:15:17 2018@author: 14164&qu

2018-07-17 20:32:18 200

原创 leetcode.0001 two sum

leetcode.0001 two sum题目: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 one solution,...

2018-07-17 20:31:53 114

原创 leetcode.0007. Reverse Integer

leetcode.0007. Reverse Integer题目Given a 32-bit signed integer, reverse digits of an integer.Example 1:Input: 123Output: 321Example 2:Input: -123Output: -321Example 3:In...

2018-07-17 20:31:25 117

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除