摘要: 前言 本文对golang中image包的用法和底层实现进行了总结和探究。包含内容如下: 1. 第一部分,介绍image的基本使用。 2. 第二部分,结合golang中image的源码和图片文件相关基础知识,对golang image的底层机制进行了探究和分析。 Golang Image包的基本使用 阅读全文
posted @ 2020-10-29 23:30 起点菜鸟 阅读(1717) 评论(0) 推荐(0) 编辑
摘要: The best way to improve the performance of SELECT operations is to create indexes on one or more of the columns that are tested in the query. The inde 阅读全文
posted @ 2020-03-13 14:01 起点菜鸟 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 主要翻译记录https://dev.mysql.com/doc/refman/8.0/en/optimization.html This chapter explains how to optimize MySQL performance and provides examples. Optimiz 阅读全文
posted @ 2020-03-09 23:29 起点菜鸟 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 题目描述: There are n houses in a village. We want to supply water for all the houses by building wells and laying pipes. For each house i, we can either 阅读全文
posted @ 2019-08-26 23:02 起点菜鸟 阅读(1100) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Given an N x N grid containing only values 0 and 1, where 0 represents water and 1represents land, find a water cell such that its distance to t 阅读全文
posted @ 2019-08-18 15:16 起点菜鸟 阅读(694) 评论(0) 推荐(0) 编辑
摘要: Problem Description: Given a matrix of integers A with R rows and C columns, find the maximum score of a path starting at [0,0] and ending at [R-1,C-1 阅读全文
posted @ 2019-07-07 15:25 起点菜鸟 阅读(1085) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, you need to find the length of Longest Consecutive Path in Binary Tree. Especially, this path can be either increasing or decreas 阅读全文
posted @ 2019-06-26 21:44 起点菜鸟 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Problem Description: We have a set of items: the i-th item has value values[i] and label labels[i]. Then, we choose a subset S of these items, such th 阅读全文
posted @ 2019-06-17 00:13 起点菜鸟 阅读(324) 评论(0) 推荐(0) 编辑
摘要: Problem Description: Given a collection of intervals, find the minimum number of intervals you need to remove to make the rest of the intervals non-ov 阅读全文
posted @ 2019-06-15 00:54 起点菜鸟 阅读(385) 评论(0) 推荐(0) 编辑
摘要: Problem Description: Given a binary tree, find the length of the longest consecutive sequence path. The path refers to any sequence of nodes from some 阅读全文
posted @ 2019-06-05 21:39 起点菜鸟 阅读(198) 评论(0) 推荐(0) 编辑