LeetCode-3Sum

Given an integer array nums, return all the triplets numsi, numsj, numsk such that i != j, i != k, and j != k, and numsi + numsj + numsk == 0

2021-05-10 · 2 min · 278 words · Garlic Space

LeetCode-Two Sum

Given an array of integers nums and an integer target, return _indices of the two numbers such that they add up to target

2021-05-10 · 1 min · 188 words · Garlic Space

Effective Go-5

Do not communication by sharing memory; instead,share memory by communicating

2021-04-27 · 11 min · 2281 words · Garlic Space

LeetCode-Palindrome Pairs Solution

Given a list of unique words, return all the pairs of the distinct indices i, j in the given list, so that the concatenation of the two words wordsi + wordsj is

2021-04-01 · 3 min · 477 words · Garlic Space

查询和清除文件系统缓存

为了减少磁盘I/O,加快读写速度,Linux内核使用文件系统的Cache,Page Cache。

2021-03-30 · 2 min · 280 words · Garlic Space

Effective Go - 1

为了减少格式化问题带来的争议, 可以使用 gofmt程序对源码进行格式化。

2021-03-07 · 1 min · 87 words · Garlic Space

LeetCode-Word Search II Solution

Given an m x n board of characters and a list of strings words, return _all words on the board

2021-03-07 · 2 min · 318 words · Garlic Space

mount操作导致磁盘数据丢失

cenos7X86_64 + openssh

2021-03-02 · 2 min · 308 words · Garlic Space

LeetCode-Maximum XOR of Two Numbers in an Array

Given an integer array nums, return the maximum result of numsi XOR numsj, where 0 ≤ i ≤ j < n

2021-02-27 · 2 min · 246 words · Garlic Space

比特币,区块链与自由软件

这篇文章 Open source money: Bitcoin, blockchain, and free software

2021-02-24 · 1 min · 80 words · Garlic Space