摘要: KMP: 参考 https://www.zhihu.com/question/21923021核心思想:跳过不可能成功的字符串比较,利用了Next数组 1. 构建next数组精髓:快速求Next数组(最长公共前后缀数组)next数组的完整定义:定义 “k-前缀” 为一个字符串的前 k 个字符;“k- 阅读全文
posted @ 2021-07-22 14:57 胡糊糊同学 阅读(75) 评论(0) 推荐(0)
摘要: 1.Spring概述 Spring是什么? Spring的两大核心 Spring的发展历程和优势 Spring体系结构 2.程序的耦合与解耦 曾经案例中的问题 阅读全文
posted @ 2021-05-27 10:47 胡糊糊同学 阅读(54) 评论(0) 推荐(0)
摘要: NAT: network address translation -motivation: local network uses just one IP address as far as outside world is concerned. -implementation: NAT router 阅读全文
posted @ 2021-05-24 19:51 胡糊糊同学 阅读(43) 评论(0) 推荐(0)
摘要: 方法 1:通过 Scanner Scanner input = new Scanner(System.in); String s = input.nextLine(); input.close(); Copy to clipboardErrorCopied 方法 2:通过 BufferedReade 阅读全文
posted @ 2021-05-24 19:50 胡糊糊同学 阅读(470) 评论(0) 推荐(0)
摘要: --Use the NOT keyword to select all records where City is NOT "Berlin" SELECT * FROM Customers WHERE NOT City = ‘Berlin‘; --通配符 _ --Select all records 阅读全文
posted @ 2021-05-24 19:49 胡糊糊同学 阅读(66) 评论(0) 推荐(0)
摘要: two types of links: 1. point to point 2.broadcast(shared wire or medium) -Multiple access protocol: distributed algorithm that determines how nodes sh 阅读全文
posted @ 2021-05-24 19:42 胡糊糊同学 阅读(89) 评论(0) 推荐(0)
摘要: -Parity Checking ( odd/even parity ) single bit parity two-dimensional bit parity -Checksum -CRC cyclic redundancy check view data bits, D, as a binar 阅读全文
posted @ 2021-05-24 19:39 胡糊糊同学 阅读(67) 评论(0) 推荐(0)
摘要: ARP: address resolution protocol 地址解析协议,用于实现从 IP 地址到 MAC 地址的映射,即询问目标IP对应的MAC地址。 一般情况下,上层应用程序更多关心IP地址而不关心MAC地址,所以需要通过ARP协议来获知目的主机的MAC地址,完成数据封装。 -ARP ta 阅读全文
posted @ 2021-05-24 19:36 胡糊糊同学 阅读(80) 评论(0) 推荐(0)