上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 53 下一页

2020年12月3日

摘要: problem 1592. Rearrange Spaces Between Words solution#1: code 注意,如何分离单词; 参考 1. leetcode_easy_string_1592. Rearrange Spaces Between Words; 完 阅读全文
posted @ 2020-12-03 13:01 鹅要长大 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 前言 前段时间被小伙伴种草了资源管理工具Clover(四叶草),使用了一段时间,发现总是出现各种新闻推荐广告什么的,甚是辣眼睛,总想着如何关闭广告设置,故记录本文。 操作方法 方法1. 直接在设置中关闭; 其实,首先想到的就是更改设置,奈何宝宝之前怎么也没在见面上发现设置这个工具栏,可能是宝宝的眼睛 阅读全文
posted @ 2020-12-03 12:58 鹅要长大 阅读(5271) 评论(0) 推荐(0) 编辑

2020年12月2日

摘要: problem 1598. Crawler Log Folder solution#1: 使用stack; code solution#2: code 参考 1. leetcode_easy_stack_1598. Crawler Log Folder; 完 阅读全文
posted @ 2020-12-02 07:52 鹅要长大 阅读(83) 评论(0) 推荐(0) 编辑
摘要: problem 1441. Build an Array With Stack Operations 题意: 这道题目重在理解题目意思; 有一个递增数组target,其中的元素是[1, n]之间的整数, 对于[1, n]之间且不大于target最大值的所有整数, 若target中不存在该数值,则先a 阅读全文
posted @ 2020-12-02 07:49 鹅要长大 阅读(40) 评论(0) 推荐(0) 编辑
摘要: problem 1047. Remove All Adjacent Duplicates In String solution#1: 使用stack; code: solution#2: 快慢指针; code solution#3: 数据类型string的特性; code 参考 1. leetcod 阅读全文
posted @ 2020-12-02 07:48 鹅要长大 阅读(41) 评论(0) 推荐(0) 编辑
摘要: problem 1021. Remove Outermost Parentheses solution#1: stack; code solution#2: code 参考 1. leetcode_easy_stack_1021. Remove Outermost Parentheses; 2. 【 阅读全文
posted @ 2020-12-02 07:47 鹅要长大 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 前言 git add git checkout git使用过程 # git lfs installsudo apt-get install git-lfs# install git lfs configurationgit lfs install# usagegit clone URL git cl 阅读全文
posted @ 2020-12-02 07:46 鹅要长大 阅读(625) 评论(0) 推荐(0) 编辑
摘要: problem 1640. Check Array Formation Through Concatenation solution#1: code solution#2: code solution#3: code 参考 1. leetcode_essy_sort_1640. Check Arra 阅读全文
posted @ 2020-12-02 07:45 鹅要长大 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 问题描述: 最近从git上下载DL模型和源码,看到模型只有几十k,就准备先clone模型文件再clone源码,没想到耽误了一些功夫,clone之后只有.git,但没有看到模型文件。 分析: 首先,一定要有权限,其次,一定要配置好git,特别是SSH KEY; 一般情况下,只需要clone就可以了,但 阅读全文
posted @ 2020-12-02 07:42 鹅要长大 阅读(3780) 评论(0) 推荐(0) 编辑
摘要: problem Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repos 阅读全文
posted @ 2020-12-02 07:36 鹅要长大 阅读(451) 评论(0) 推荐(0) 编辑
摘要: problem 392. Is Subsequence solution#1: two pointers,快慢指针; code solution#2: Follow Up中描述有很长的字符串,如何优化; 使用 uppper_bound() 来二分查找第一个大于 pre 的位置; code 参考 1. 阅读全文
posted @ 2020-12-02 07:31 鹅要长大 阅读(51) 评论(0) 推荐(0) 编辑
摘要: problem 1614. Maximum Nesting Depth of the Parentheses 理解题意;题目描述的比较繁琐,重在理解核心思想; solution#1: code 参考 1. leetcode_easy_string_1614. Maximum Nesting Dept 阅读全文
posted @ 2020-12-02 07:17 鹅要长大 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 前言 aarch64-linux-gnu-nm freespaceaarch64-linux-nm freespaceaarch64-linux-gnu-nm freespaceaarch64-linux-gnu-objdump -x -s -d freespace addr2line 0x7f92 阅读全文
posted @ 2020-12-02 07:13 鹅要长大 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 前言 Linux ps (英文全拼:process status)命令用于显示当前进程的状态,类似于 windows 的任务管理器。 参考 1. 10个重要的Linux ps命令实战; 完 阅读全文
posted @ 2020-12-02 07:08 鹅要长大 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 前言 code float* lanemap = new float[output_h * output_w]; float* fsmap = new float[output_h * output_w]; cv::Mat showimg; std::vector<PointProp> border 阅读全文
posted @ 2020-12-02 07:02 鹅要长大 阅读(212) 评论(0) 推荐(0) 编辑
摘要: problem 1005. Maximize Sum Of Array After K Negations 题意 solution#1: code solution#2: 先循环k次,每次把最小值前加负号,然后遍历求和; code solution#3: 翻转,应尽可能的翻转负数,同时翻转两次是可以 阅读全文
posted @ 2020-12-02 06:56 鹅要长大 阅读(49) 评论(0) 推荐(0) 编辑
摘要: problem 1528. Shuffle String solution#1: code 参考 1. leetcode_easy_sort_1528. Shuffle String; 完 阅读全文
posted @ 2020-12-02 06:55 鹅要长大 阅读(34) 评论(0) 推荐(0) 编辑
摘要: problem 1518. Water Bottles 题意: solution#1:迭代; code solution#2: 迭代; code solution#3: 数学;oneline; code 参考 1. leetcode_easy_greedy_1518. Water Bottles; 阅读全文
posted @ 2020-12-02 06:52 鹅要长大 阅读(51) 评论(0) 推荐(0) 编辑
摘要: problem 1403. Minimum Subsequence in Non-Increasing Order 题意 重在理解题意,找出这样的最小子序列,肯定从数组中最大数开始一个一个提取,直到子序列的和大于剩余在原数组的元素之和。关键在于怎么提取数组中的最大数。可以排序,或者使用数值的数量。也 阅读全文
posted @ 2020-12-02 06:50 鹅要长大 阅读(53) 评论(0) 推荐(0) 编辑
摘要: problem 1030. Matrix Cells in Distance Order solution#1: 排序; code solution#2: code 参考 1. leetcode_easy_sort_1030. Matrix Cells in Distance Order; 2. s 阅读全文
posted @ 2020-12-02 06:45 鹅要长大 阅读(43) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 53 下一页

导航