摘要:
997. Find the Town Judge https://leetcode.com/problems/find-the-town-judge/ 1042. Flower Planting With No Adjacent https://leetcode.com/problems/flowe 阅读全文
摘要:
内推码: 投递链接: https://job.toutiao.com/campus/ 可选职位: EE开发组件-后端研发 DOCs,Lark-后端开发 今日头条-后端开发 等许多职位 阅读全文
摘要:
树: 递归(110):110. Balanced Binary Tree https://leetcode.com/problems/balanced-binary-tree/description/ 层次遍历(513):513. Find Bottom Left Tree Value https: 阅读全文
摘要:
丑数 把只包含质因子2、3和5的数称作丑数(Ugly Number)。例如6、8都是丑数,但14不是,因为它包含质因子7。 习惯上我们把1当做是第一个丑数。求按从小到大的顺序的第N个丑数。 第一个只出现一次的字符 数组中的逆序对 input: 1,2,3,4,5,6,7,0 output: 7 归并 阅读全文
摘要:
40个Java集合面试问题和答案 阅读全文
摘要:
[Java] ArrayList 类 阅读全文
摘要:
1. 二维数组中查找 在一个二维数组中(每个一维数组的长度相同),每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否含有该整数。 2. 替换函数 请实现一个函数,将一个字符串中的每个空格替换成“%20”。例如,当字 阅读全文
摘要:
week 1 双指针(题号:167):https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/description/ Input: numbers = [2,7,11,15], target = 9Output: [1,2]Ex 阅读全文
摘要:
20. Valid Parentheses Input: "{[]}"Output: true 53. Maximum Subarray Input: [-2,1,-3,4,-1,2,1,-5,4],Output: 6Explanation: [4,-1,2,1] has the largest s 阅读全文