Weekly Contest 409 周赛题目解析

Posted on Fri 18 October 2024 in Leetcode • Tagged with Contest

2024-08 Leetcode Weekly Contest 409 第 409 场力扣周赛 | Solution to contest problems 赛题讲解 | 3242. Design Neighbor Sum Service 设计相邻元素求和服务 | 3243. Shortest Distance After Road Addition Queries I 新增道路查询后的最短距离 I | 3244. Shortest Distance After Road Addition Queries II 新增道路查询后的最短距离 II | 3245. Alternating Groups III 交替组 III


Continue reading

Weekly Contest 407 周赛题目解析

Posted on Thu 08 August 2024 in Leetcode • Tagged with Contest

2024-07 Leetcode Weekly Contest 407 第 407 场力扣周赛 | Solution to contest problems 赛题讲解


Continue reading

Weekly Contest 399 周赛题目解析

Posted on Mon 17 June 2024 in Leetcode • Tagged with Contest

2024-06 Leetcode Weekly Contest 399 第 399 场力扣周赛 | Solution to contest problems 赛题讲解


Continue reading

Weekly Contest 397 周赛题目解析

Posted on Tue 11 June 2024 in Leetcode • Tagged with Contest

2024-05 Leetcode Weekly Contest 397 第 397 场力扣周赛 | Solution to contest problems 赛题讲解 | 3146. Permutation Difference between Two Strings 两个字符串的排列差 | 3147. Taking Maximum Energy From the Mystic Dungeon 从魔法师身上吸取的最大能量 | 3148. Maximum Difference Score in a Grid 矩阵中的最大得分 | 3149. Find the Minimum Cost Array Permutation 找出分数最低的排列


Continue reading

一些有趣的HTTPS和TCP面试题

Posted on Mon 22 April 2024 in Computer Science

分享一些有趣的TCP和HTTP面试题,并给出一些解答。


Continue reading

摄影札记:富士 Superia X-TRA 400的离开只是一个开始

Posted on Tue 16 April 2024 in Photography

关于富士Fujifilm Superia X-TRA 400的停产。


Continue reading

Weekly Contest 392 周赛题目解析

Posted on Sun 31 March 2024 in Leetcode • Tagged with Contest

2024-03 Leetcode Weekly Contest 392 第 392 场力扣周赛 | 3105. Longest Strictly Increasing or Strictly Decreasing Subarray 最长的严格递增或递减子数组 | 3106. Lexicographically Smallest String After Operations With Constraint 满足距离约束且字典序最小的字符串 | 3107. Minimum Operations to Make Median of Array Equal to K 使数组中位数等于 K 的最少操作数 | 3108. Minimum Cost Walk in Weighted Graph 带权图里旅途的最小代价 | Solution to contest problems 赛题讲解 | Dual Pointer 双指针 | Union Find 并查集


Continue reading

Weekly Contest 390 周赛题目解析

Posted on Sun 24 March 2024 in Leetcode • Tagged with Contest

2024-03 Leetcode Weekly Contest 390 第 390 场力扣周赛 | 3090. Maximum Length Substring With Two Occurrences 每个字符最多出现两次的最长子字符串 | 3091. Apply Operations to Make Sum of Array Greater Than or Equal to k 执行操作使数据元素之和大于等于 K | 3092. Most Frequent IDs 最高频率的 ID | 3093. Longest Common Suffix Queries 最长公共后缀查询 | Solution to contest problems 赛题讲解 | Trie 前缀树


Continue reading

从requirements.txt升级到Poetry

Posted on Sat 23 March 2024 in Computer Science • Tagged with Python

将包管理方式从requirements.txt升级到Poetry


Continue reading

Weekly Contest 387 周赛题目解析

Posted on Sun 03 March 2024 in Leetcode • Tagged with Contest

2024-03 Leetcode Weekly Contest 387 第 387 场力扣周赛 | 3069. Distribute Elements Into Two Arrays I 将元素分配到两个数组中 I | 3070. Count Submatrices with Top-Left Element and Sum Less Than k 元素和小于等于 k 的子矩阵的数目 | 3071. Minimum Operations to Write the Letter Y on a Grid 在矩阵上写出字母 Y 所需的最少操作次数 | 3072. Distribute Elements Into Two Arrays II 将元素分配到两个数组中 II | Solution to contest problems 赛题讲解


Continue reading