• 2023-03-07ping包最大1472
    icmp:MTU默认值为1500,一般指IP报文长度为1500B;由于IP头默认20B,所以ICMP报文为1480BICMP报文头为8B,所以ICMP载荷为1472B,对应ping命令的-s参数大小正在Ping47.107.241.69
  • 2023-01-05【栈】LeetCode 1472. 设计浏览器历史记录
    题目链接1472.设计浏览器历史记录思路用栈history模拟网页的前进后退操作,用栈temp来暂时存储后退所退出的网页。代码classBrowserHistory{Stack<String>h
  • 2022-12-01一本通1472:The XOR Largest Pair
      将数字看为01串插入字典树, 贪心每次尝试走01串的相反的路#include<iostream>#include<algorithm>#include<cstring>usingnamespacestd;constintN=1e
  • 2022-10-031472. Design Browser History 前进、后退的浏览网页历史
    Youhavea browser ofonetabwhereyoustartonthe homepage andyoucanvisitanother url,getbackinthehistorynumberof steps ormoveforwardin
  • 2022-09-28python 线性代数:解多元一次方程
    因为在程序化交易策略中使用了网格算法进行交易,因为在网格中想设置动态资源大小的问题,所以就想到使用抛物线的分布方法来对网格资金配置进行分配。比如我的网格最大值设置
  • 2022-08-22LeetCode 1472. Design Browser History
    原题链接在这里:https://leetcode.com/problems/design-browser-history/题目:Youhavea browser ofonetabwhereyoustartonthe homepage andyoucanvisitan