摘要: WebConnect stream socket base on tcp datagram socket base on udp ip/port windows:ipconfig linux:ifconfig 防火墙与不同主机通信 OSI(open system interconnect) app- 阅读全文
posted @ 2023-04-18 22:16 Logic_Han 阅读(156) 评论(0) 推荐(0) 编辑
摘要: LeetCode:Search Algorithm 1\First unique char Algorithm Design 利用字符数量的有限性,通过数组来映射(避免Hash_map的高复杂度) 注意数组声明为int A[26]而不是char A[26]; if(s=="") return ' ' 阅读全文
posted @ 2023-04-18 22:12 Logic_Han 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 2023/3/4[LC:Random_List_Copy] 1>心得: 写“for"循环之前需要首先思考循环目的和结束条件;例如链表的遍历等; 模拟仔细; 2>思路 首先如果是单纯复制一个普通链表: 需要给前一个copy结点留一个pre指针;以便:pre->next=copy; 3>解法 此题有两个 阅读全文
posted @ 2023-04-18 22:12 Logic_Han 阅读(11) 评论(0) 推荐(0) 编辑
摘要: People | :bowtie: :bowtie: | :smile: :smile: | :laughing: :laughing: | | | | | | :blush: :blush: | :smiley: :smiley: | :relaxed: :relaxed: | | :smirk: 阅读全文
posted @ 2023-04-18 22:11 Logic_Han 阅读(8) 评论(0) 推荐(0) 编辑
摘要: c++_Template std::string Member functions: Iterators: begin Return iterator to beginning (public member function) end Return iterator to end (public m 阅读全文
posted @ 2023-04-18 22:08 Logic_Han 阅读(9) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <iomanip> #include <ctime> #include<windows.h> int main() { time_t now = time(NULL); tm* ltm = localtime(&now); std::cout 阅读全文
posted @ 2023-04-18 22:06 Logic_Han 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2023-04-18 21:15 Logic_Han 阅读(10) 评论(0) 推荐(0) 编辑