06 2019 档案
摘要:就是为了干倒二分题目。 题目 475. Heaters Winter is coming! Your first job during the contest is to design a standard heater with fixed warm radius to warm all the
阅读全文
摘要:参考链接:https://www.cnblogs.com/Kohinur/p/8947142.html 链式前向星 vector存储
阅读全文
摘要:Given an integer n, return the number of trailing zeroes in n!. Example 1: Example 2: 题目问阶乘的结果有几个零,如果用笨方法求出阶乘然后再算 0 的个数会超出时间限制。 然后我们观察一下,5 的阶乘结果是 120,
阅读全文
摘要:Shuffle a set of numbers without duplicates. Example:
阅读全文
摘要:Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique q
阅读全文
摘要:Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the s
阅读全文