摘要:
最近刷到了《一兆游戏》这部日剧,原来以为只是一部热闹夸张的创业爽剧,没想到学到了不少新老知识点。 Fake it til you make it (假装成功直到你能做到) 男主从一开始就一直信奉和践行这个原则,没法实现完全的人工智能,就用人工去完成最难的智能的部分。从没有沟通下来投资,就利用不同的投 阅读全文
摘要:
五一漫长的假期,外面的世界是人山人海,反而在家刷题算得上一个好的休闲方式。刚好我开始写这道题: Given two integers `dividend` and `divisor`, divide two integers **without** using multiplication, div 阅读全文
摘要:
周末食欲不振,拿一道简单难度的题找找感觉,题目如下: Given an integer array nums sorted in non-decreasing order, remove the duplicates in-place such that each unique element ap 阅读全文
摘要:
最近还是很喜欢用golang来刷算法题,更接近通用算法,也没有像动态脚本语言那些语法糖,真正靠实力去解决问题。 下面这道题很有趣,也是一道链表题目,具体如下: 24. Swap Nodes in Pairs Solved Medium Topics Companies Given a linked 阅读全文
摘要:
面对这个括号匹配的问题,我开始也有点迷茫,隐约觉得可以用栈(Stack)来解决。一起先来看看原题吧: Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the i 阅读全文