上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 95 下一页
摘要: 简介 接雨水. 简单思路 排序, 依次选择最高的柱子,所围城的池塘高度 code class Solution { public: struct zhuzi{ int height; int index; }; bool static cmp(const struct zhuzi &a, const 阅读全文
posted @ 2021-05-15 21:59 HDU李少帅 阅读(37) 评论(0) 推荐(0)
摘要: 简介 其实还是蛮常识的一道题, 不过, 说实话,容易超时. 思路 固定第一个值,然后使用左右指针, 进行滑动. 参考链接 https://leetcode-cn.com/problems/3sum/solution/yi-miao-jiu-neng-kan-dong-de-dong-tu-jie-u 阅读全文
posted @ 2021-05-15 20:04 HDU李少帅 阅读(44) 评论(0) 推荐(0)
摘要: 简介 简单题 code class Solution { public: ListNode* reverseKGroup(ListNode* head, int k) { vector<ListNode*> l; ListNode * p = head; while(p){ l.push_back( 阅读全文
posted @ 2021-05-14 13:54 HDU李少帅 阅读(40) 评论(0) 推荐(0)
摘要: 简介 python 简单socket code import socket HOST = '103.46.128.53' PORT = 24876 BUFSIZ = 1024 ADDR = (HOST, PORT) connection = socket.socket(socket.AF_INET, 阅读全文
posted @ 2021-05-14 10:21 HDU李少帅 阅读(60) 评论(0) 推荐(0)
摘要: 简介 使用滑动窗口 https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/solution/hua-dong-chuang-kou-by-powcai/ code C++ class Solut 阅读全文
posted @ 2021-05-13 23:22 HDU李少帅 阅读(65) 评论(0) 推荐(0)
摘要: 简介 linux 配置 openjdk java环境 参考链接 https://blog.csdn.net/qq_36706878/article/details/105578816 阅读全文
posted @ 2021-05-13 23:01 HDU李少帅 阅读(136) 评论(0) 推荐(0)
摘要: 简介 相信大家都知道TCP的四次握手, 是的, 面试必问问题之一. 但是基本很难对TCP的四次握手产生有效的记忆. 参考链接 https://blog.csdn.net/a19881029/article/details/38091243 使用wireshark进行端口信号的捕捉. 继而对TCP三次 阅读全文
posted @ 2021-05-13 16:36 HDU李少帅 阅读(94) 评论(0) 推荐(0)
摘要: 简介 相信大家都知道TCP的三次握手, 是的, 面试必问问题之一. 但是基本很难对TCP的三次握手产生有效的记忆. 参考链接 https://blog.csdn.net/a19881029/article/details/38091243 使用wireshark进行端口信号的捕捉. 继而对TCP三次 阅读全文
posted @ 2021-05-13 15:37 HDU李少帅 阅读(352) 评论(0) 推荐(0)
摘要: 简介 RT 步骤 如下所示 然后save data即可 阅读全文
posted @ 2021-05-09 13:52 HDU李少帅 阅读(846) 评论(0) 推荐(1)
摘要: 简介 参考链接 https://gamedev.stackexchange.com/questions/26974/repairing-back-facing-triangles-without-user-input 缺陷, 对于非流形的网格会失败 code #include <iostream> 阅读全文
posted @ 2021-05-09 11:23 HDU李少帅 阅读(138) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 95 下一页