解决Foobar挑战(四)- 终篇
Posted on Sat 30 September 2023 in Computer Science • Tagged with Google Foobar
Posted on Sat 30 September 2023 in Computer Science • Tagged with Google Foobar
Posted on Sat 23 September 2023 in Leetcode • Tagged with Contest
2023-09 Leetcode Weekly Contest 363 第 363 场力扣周赛 | 2859. Sum of Values at Indices With K Set Bits 计算 K 置位下标对应元素的和 | 2860. Happy Students 让所有学生保持开心的分组方法数 | 2861. Maximum Number of Alloys 最大合金数 | 2862. Maximum Element-Sum of a Complete Subset of Indices 完全子集的最大元素和 | Solution to contest problems 赛题讲解
Posted on Sun 17 September 2023 in Leetcode • Tagged with Contest
2023-09 Leetcode Weekly Contest 362 第 362 场力扣周赛 | 2848. Points That Intersect With Cars 与车相交的点 | 2849. Determine if a Cell Is Reachable at a Given Time 判断能否在给定时间到达单元格 | 2850. Minimum Moves to Spread Stones Over Grid 将石头分散到网格图的最少移动次数 | 2851. String Transformation 字符串转换 | Solution to contest problems 赛题讲解
Posted on Thu 31 August 2023 in Leetcode • Tagged with Contest
2023-08 Leetcode Weekly Contest 359 第 359 场力扣周赛 | 2828. Check if a String Is an Acronym of Words 判别首字母缩略词 | 2829. Determine the Minimum Sum of a k-avoiding Array k-avoiding 数组的最小总和 | 2830. Maximize the Profit as the Salesman 销售利润最大化 | 2831. Find the Longest Equal Subarray 找出最长等值子数组 | Solution to contest problems 赛题讲解
Posted on Wed 30 August 2023 in Leetcode • Tagged with Contest
2023-08 Leetcode Weekly Contest 358 第 358 场力扣周赛 | 2815. Max Pair Sum in an Array 数组中的最大数对和 | 2816. Double a Number Represented as a Linked List 翻倍以链表形式表示的数字 | 2817. Minimum Absolute Difference Between Elements With Constraint 限制条件下元素之间的最小绝对差 | 2818. Apply Operations to Maximize Score 操作使得分最大 | Solution to contest problems 赛题讲解
Posted on Mon 21 August 2023 in Computer Science
本文探讨了在线航空公司经营游戏Airline Empires中,如何通过最佳座位配置来提升盈利能力。从游戏机制到座位优化,逐步引导读者了解如何运用混合整数二次规划来提升游戏中的航线盈利。This article explores how optimal seating configurations can be used to improve profitability in Airline Empires, an online airline operating game. From game mechanics to seat optimization, the reader is guided step-by-step through how to use Mixed-Integer Quadratic Programming (MIQP) to improve airline profitability in the game.
Posted on Wed 09 August 2023 in Leetcode • Tagged with Contest
2023-07 Leetcode Weekly Contest 357 第 357 场力扣周赛 | 2810. Faulty Keyboard 故障键盘 | 2811. Check if it is Possible to Split Array 判断是否能拆分数组 | 2812. Find the Safest Path in a Grid 找出最安全路径 | 2813. Maximum Elegance of a K-Length Subsequence 子序列最大优雅度 | Solution to contest problems 赛题讲解 | Dijkstra 迪科斯特拉算法 | Greedy 贪心算法
Posted on Tue 08 August 2023 in Leetcode • Tagged with Contest
2023-07 Leetcode Weekly Contest 356 第 356 场力扣周赛 | 2798. Number of Employees Who Met the Target 满足目标工作时长的员工数目 | 2799. Count Complete Subarrays in an Array 统计完全子数组的数目 | 2800. Shortest String That Contains Three Strings 包含三个字符串的最短字符串 | 2801. Count Stepping Numbers in Range 统计范围内的步进数字数目 | Solution to contest problems 赛题讲解 | Digit DP 数位DP
Posted on Wed 02 August 2023 in Leetcode • Tagged with Contest
2023-07 Leetcode Weekly Contest 355 第 355 场力扣周赛 | 2788. Split Strings by Separator 按分隔符拆分字符串 | 2789. Largest Element in an Array after Merge Operations 合并后数组中的最大元素 | 2790. Maximum Number of Groups With Increasing Length 长度递增组的最大数目 | 2791. Count Paths That Can Form a Palindrome in a Tree 树中可以形成回文的路径数 | Solution to contest problems 赛题讲解 | Palindome 回文
Posted on Tue 18 July 2023 in Leetcode • Tagged with Contest
2023-07 Leetcode Weekly Contest 354 第 354 场力扣周赛 | 2778. Sum of Squares of Special Elements 特殊元素平方和 | 2779. Maximum Beauty of an Array After Applying Operation 数组的最大美丽值 | 2780. Minimum Index of a Valid Split 合法分割的最小下标 | 2781. Length of the Longest Valid Substring 最长合法子字符串的长度 | Solution to contest problems 赛题讲解 | 字典树 Trie