上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: > https://leetcode.cn/problems/longest-common-prefix/description/ > What's the "sort"? > A kind of overresearched cheating methods > Loosely speaking, 阅读全文
posted @ 2023-08-23 17:07 千心 阅读(32) 评论(0) 推荐(0)
摘要: 好长时间没更新博客了……最近确实发生了不少事情,导致更新不了 It's been a long time to not update my blog……Recently actually many things happen, so that I couldn't have time to draw 阅读全文
posted @ 2023-08-16 23:33 千心 阅读(111) 评论(0) 推荐(0)
摘要: 以前学过ruby,gml,lisp这些小众语言的我 又开始了golang, 但是golang这门语言,的确比较独特,也很有可能是最好的语言,因为它图灵完全 只是不够底层,但是和C++对比一下吧 C++ vs golang In brief, golang is a general-purpose l 阅读全文
posted @ 2023-03-02 15:39 千心 阅读(88) 评论(0) 推荐(0)
摘要: From C++ to Python and a little Java 从C++到Python以及对Java的小观点 Output Python: print f'\n' C++: std::cout print format Syntax Python: indent and : C++: {} 阅读全文
posted @ 2023-02-20 15:49 千心 阅读(55) 评论(0) 推荐(0)
摘要: dumpbin Visual Studio Powershell 的一个工具 dumpbin.exe /dependents .\monitor_mysql.exe 阅读全文
posted @ 2022-08-26 17:06 千心 阅读(97) 评论(0) 推荐(0)
摘要: Leetcode Algorithm IPO (502) Suppose LeetCode will start its IPO soon. In order to sell a good price of its shares to Venture Capital, LeetCode would 阅读全文
posted @ 2022-08-25 11:36 千心 阅读(31) 评论(0) 推荐(0)
摘要: 运行时间从来没下过100% 很快啊,很快 /* * @lc app=leetcode.cn id=7 lang=cpp * * [7] 整数反转 */ // @lc code=start class Solution { public: int reverse(int x) { if (x == 1 阅读全文
posted @ 2022-08-12 12:46 千心 阅读(51) 评论(0) 推荐(0)
摘要: 算法珠玑——最长回文子串(5) 三指针? /* * @lc app=leetcode.cn id=5 lang=cpp * * [5] 最长回文子串 */ // @lc code=start class Solution { public: string longestPalindrome(stri 阅读全文
posted @ 2022-08-11 11:08 千心 阅读(27) 评论(0) 推荐(0)
摘要: Greedy Algorithm A greedy algorithm is any algorithm that follows the problem-solving heuristic of making the locally optimal choice at each stage. In 阅读全文
posted @ 2022-08-10 16:24 千心 阅读(93) 评论(0) 推荐(0)
摘要: To solve the optimization problem in computing the two methods namely greedy and dynamic programming are used. The solutions produced by the greedy al 阅读全文
posted @ 2022-08-08 18:03 千心 阅读(35) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页