查看: 3013| 回复: 39
跳转到指定楼层
上一主题 下一主题
收起左侧

2020个人战拖刷题打卡

全局:

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
本帖最后由 饺子没虾仁 于 2020-1-13 23:35 编辑

应届生为了找前端方面的工作而开始努力用JS刷题,把这个帖子作为一个时刻提醒自己努力的打卡贴,目前按照top-interview的顺序开始刷,每天三道题,刷完easy刷medium,难度逐步增加,欢迎监督



补充内容 (2020-2-7 12:26):
不知道为什么回复不了了,02/05 没做完,打脸,自我反省
15. 3 Sum
17.  Letter Combinations of a Phone Number

上一篇:湾区的大家都在哪刷题?
下一篇:刷题记录
全局:
楼主加油,我也准备专业刷题
回复

使用道具 举报

推荐
 楼主| 饺子没虾仁 2020-1-30 02:26:13 | 只看该作者
全局:
补上昨天的
01/28
387. First Unique Character in a String, this could be solved with the hash map, but JS has a better method of lastIndexOf()
371. Sum of Two Integers calculate the sum of two integers with the bitwise operation,  difficult level, need to review
回复

使用道具 举报

推荐
 楼主| 饺子没虾仁 2020-2-19 10:36:01 | 只看该作者
全局:
本帖最后由 饺子没虾仁 于 2020-2-19 10:38 编辑
饺子没虾仁 发表于 2020-2-16 12:55
02/14 补上昨天的
4. Sum ||, Given four lists A, B, C, D of integer values, compute how many tuples ...

补一下大佬提供的395的解法:
您好!
本帖隐藏的内容需要积分高于 50 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 50 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限查看其他获取积分的方式
Unlock interview details and practice with AI
Curated Interview Questions from Top Companies
回复

使用道具 举报

🔗
 楼主| 饺子没虾仁 2020-1-13 23:33:43 | 只看该作者
全局:
01/13
141 Linked List Cycle: tell whether there is a circle in the linked list or not. It's related to the knowledge of linked-list structure. 考察数据链相关结构
深夜发帖,第一天放下水
回复

使用道具 举报

🔗
 楼主| 饺子没虾仁 2020-1-14 23:15:59 | 只看该作者
全局:
01/14
155 Min Stack, implement the pop(), push(), top() and getMin() methods of a stack, it focuses on the stack structure and the understanding of stack, 考察数据栈的结构
160 Intersection of Two Linked Lists,finding out the intersection of two singly linked list, the solution is to use two iterations fluently to find the intersection, 活用循环和数据链结构
169 Majority Element,finding the number that appear more than [n/2] times in an array, the best solution is the Majority Vote Algorithm by Boyer-Moore
回复

使用道具 举报

🔗
 楼主| 饺子没虾仁 2020-1-16 01:18:15 | 只看该作者
全局:
01/15
171 Excel Sheet Column Number, Given a column title as appear in an Excel sheet, return its corresponding column number, 'A' to 1, 'AA' to '27', the ASCII code and charCodeAt()
172 Factorial Trailing Zeroes, count the trailing zeros of a number's factorial
189. Rotate Array, Given an array, rotate the array to the right by k steps, the unshift method of Javascript is very useful,学习JS的unishift()

今天打卡迟了点因为忙着处理学校的私事,下次早做早打卡
回复

使用道具 举报

🔗
 楼主| 饺子没虾仁 2020-1-17 00:36:05 | 只看该作者
全局:
01/16
190 Reverse Bits, Reverse bits of a given 32 bits unsigned integer.
191 Number of One Bit, Write a function that takes an unsigned integer and return the number of '1' bits it has
198 House Robber,  Given a list of non-negative integers representing the amount of money of each house, determine the maximum amount of money you can rob
回复

使用道具 举报

🔗
 楼主| 饺子没虾仁 2020-1-18 01:43:26 | 只看该作者
全局:
01/17
202 Happy Number Decide whether or not a number is "Happy", how to break an infinite loop and how to decide on a happy number, 怎么样打破无限循环
204 Count Primes count how many primes numbers there are under one integer

今天处理旅行事务,少写一题
回复

使用道具 举报

🔗
 楼主| 饺子没虾仁 2020-1-23 23:08:11 | 只看该作者
全局:
01/23
最近刚回美,耽搁了几天,继续打卡,不气馁
206 Reversed Linked List reverse a singly linked list, kinda difficult for me, review required
217 Contains Duplicate, find if an array contains duplicated numbers, solved with the object in JS, review on the definition of the object of JS
234 Palindrome Linked List, review on what's palindrome
回复

使用道具 举报

🔗
 楼主| 饺子没虾仁 2020-1-25 05:40:40 | 只看该作者
全局:
01/24
今天手感不错,碰到的题异常简单
237 Delete Node in a Linked List, given a note in the linked-list and delete this node, super easy
242 Valid Anagram, anagram = naagram, remember that in js, the split method usually should be written as split("")
268 Missing Number, find the missing number from an array full of distinct integers according to the order, ATTENTION THAT sort() method in javascript would sort integers alphabetically, 复习JS的sort()
回复

使用道具 举报

🔗
 楼主| 饺子没虾仁 2020-1-26 11:31:55 | 只看该作者
全局:
01/25
283 Move Zeroes: Given an array of nums, write a function to move all 0's to the end, cannot use array.prototype.splice() here because it will change the length of the array
326 Power of Three, decide whether a number is the power of three or not, remember 3^0 = 1, so 1 is also the power of three
今天周末,少写一题
回复

使用道具 举报

🔗
 楼主| 饺子没虾仁 2020-1-28 11:54:13 | 只看该作者
全局:
01/26,jet lag太折磨人,补上昨天的, 不要放弃!
334 Reverse String, very easy, reverse an array of letters
350 Intersection of Two Arrays ||, check the intersection of two arrays, solved with the hash map, remember that the intersection doesn't have to be consecutive
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表