Skip to main content

On the Naglfar

C'est mon panache!

my portfolio
my toy projects
link name
useful links (still in building)
books
Books I've read
friend name
Detailed description of friend
dashboard
still in building
个人的思索垢
玻璃球游戏
image.png
image.png

玻璃球游戏大师

约瑟夫·克乃西特

名词

华尔采尔

研究年代


番风Less than 1 minutebooks
JavaScript设计模式与开发实践

本书根据 JavaScript 语言的特性,全面总结了实际工作中常用的设计模式。全书共分为三个部分,第一部分讲解了 JavaScript 语言面向对象和函数式编程的知识及其在设计模式方面的作用; 第二部分通过一步步完善示例代码,由浅入深地讲解了 16 个设计模式; 第三部分讲述了面向对象的设计原则及其在设计模式中的体现,以及一些常见的面向对象编程技巧和日常开发中的代码重构。


番风About 4 min
链表

链表倒置

leetcode 206 -easy 链表倒置

这题必须秒杀双指针, 同时记住反转链表这个模板题

class Solution:
    def reverseList(self, head: Optional[ListNode]) -> Optional[ListNode]:
        cur = head
        pre = None
        while cur:
            temp = cur.next
            cur.next = pre
            pre = cur
            cur = temp
        return pre

番风About 5 min

Our lady-loves, phantasms of our brains. Dream fancies blown into soap-bubbles!