abc_begin

导航

2017年12月3日 #

The Way to Go读书笔记_第4章_基本结构和基本数据类型

摘要: “_”标识符 _ 本身就是一个特殊的标识符,被称为空白标识符。它可以像其他标识符那样用于变量的声明或赋值(任何类型都可以赋值给它),但任何赋给这个标识符的值都将被抛弃,因此这些值不能在后续的代码中使用,也不可以使用这个标识符作为变量对其它变量进行赋值或运算。 包的概念 包是结构化代码的一种方式:每个 阅读全文

posted @ 2017-12-03 19:28 LastBattle 阅读(254) 评论(0) 推荐(0)

735. Replace With Greatest From Right【medium】

摘要: Given an array of integers, replace every element with the next greatest element (greatest element on the right side) in the array. Since there is no 阅读全文

posted @ 2017-12-03 18:41 LastBattle 阅读(128) 评论(0) 推荐(0)