leetcode tips

tips 在遍历时就max,min比较结果 返回的结果不计入空间花费 python str.isdigit() 正面不好解决时,从反面……

Golang Map的一些陷阱

通过结构体查询map 指针类型结构体 1type chunkType struct { 2 isUseOrderBy bool 3 isRoomBreak bool 4 a int 5} 6 7func pointerKey() { 8 m := make(map[*chunkType]int) 9 key :=……