自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Leetcode 237 Delete Node in a Linked List

Write a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are given the third node with value

2017-04-01 23:05:09 229

原创 Leetcode141——Linked List Cycle

题目:Given a linked list, determine if it has a cycle in it.Follow up:  Can you solve it without using extra space?开启自己的刷题之旅,尝试每两天刷一题左右,并把Solution都研究一下。第一眼看这个题目,没有理解题目的意思,看成判断链表是否为循环链表,那这不是两

2017-04-01 22:26:10 264

原创 C++ String输出方式

C++中使用cout对string类型的进行输出,发现会出现error;#include "stdafx.h"#include "iostream"#include #include using namespace std;void main(){ cout << "请输入以一个整数" << endl; int a; cin >> a; char number[5];

2017-03-28 20:18:15 23084

空空如也

空空如也

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

TA关注的人

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