自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (6)
  • 收藏
  • 关注

原创 理解C++中的左值和右值

理解C++中的左值和右值 Attention:this blog is a translation of https://www.internalpointers.com/post/understanding-meaning-lvalues-and-rvalues-c ,which is posted by @internalpoiners. 一、前言 一直以来,我都对C++中左值(lvalue)...

2019-07-30 12:48:56 438

转载 [LeetCode63] Valid Number 验证数字

Validate if a given string can be interpreted as a decimal number. Some examples: “0” => true " 0.1 " => true “abc” => false “1 a” => false “2e10” => true " -90e3 " => true " 1e" =...

2019-07-19 14:13:08 154

原创 LeetCode] 189. Rotate Array 旋转数组

Given an array, rotate the array to the right by k steps, where k is non-negative. Example 1: Input: [1,2,3,4,5,6,7] and k = 3 Output: [5,6,7,1,2,3,4] Explanation: rotate 1 steps to the right: [7,1,2,...

2019-07-17 14:41:49 159

原创 C++函数模板详解

模板(Template)指C++程序设计设计语言中采用类型作为参数的程序设计,支持通用程序设计。C++ 的标准库提供许多有用的函数大多结合了模板的观念,如STL以及IO Stream。模板是C++支持参数化多态的工具,使用模板可以使用户为类或者函数声明一种一般模式,使得类中的某些数据成员或者成员函数的参数、返回值取得任意类型。 模板是一种对类型进行参数化的工具; 通常有两种形式:函数模板...

2019-07-17 13:21:08 639

原创 [LeetCode 19] Remove Nth Node From End of List 移除链表倒数第N个节点

Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the end, th...

2019-07-11 15:01:50 102

原创 [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 digit. Add the two numbers and return i...

2019-07-11 13:47:22 94

原创 [LeetCode] 1. 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, and you may not use the same e...

2019-07-11 13:46:21 73

原创 1.1 Unique Characters of a String 字符串中不同的字符

1.1 Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structure? 这道题让我们判断一个字符串中是否有重复的字符,要求不用特殊的数据结构,这里应该是指哈希表之类的不让用。像普通的整型数组应该还是能用的,这道题的...

2019-07-09 16:28:58 205

03.事务隔离:为什么你改了我还看不见?.pdf

我希望这个专栏能够帮助这样的一些开发者:他们正在使用MySQL,知道如何写出逻辑 正确的SQL语句来实现业务目标,却不确定这个语句是不是最优的;他们听说了一些使用数据库 的最佳实践,但是更想了解为什么这么做;他们使用的数据库偶尔会出问题,亟需了解如何更快 速、更准确地定位问题,甚至自己解决问题……

2020-03-17

02.日志系统:一条SQL更新语句是如何执行的?.pdf

我希望这个专栏能够帮助这样的一些开发者:他们正在使用MySQL,知道如何写出逻辑 正确的SQL语句来实现业务目标,却不确定这个语句是不是最优的;他们听说了一些使用数据库 的最佳实践,但是更想了解为什么这么做;他们使用的数据库偶尔会出问题,亟需了解如何更快 速、更准确地定位问题,甚至自己解决问题……

2020-03-17

GB∕T 33577-2017 智能运输系统 车辆前向碰撞预警系统 性能要求和测试规程.pdf

中国智能驾驶预警系统前向碰撞标准的规范

2019-10-18

嗨翻C语言介绍

这是一本详细介绍C语言的书籍,它的优点是能够通过读者的角度来详细说明C语言的来源和发明原因,而且内容采用问答式模式,诙谐幽默,轻松移动

2019-01-14

C 经典编程100题

这是学习C语言必备的习题,只有将知识和习题结合才能更好的掌握C语言的知识

2019-01-11

空空如也

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

TA关注的人

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