漫行记Wandering

随笔Journal

28 篇 · 1 年
23Sep 2025Substring with Concatenation of All WordsLeetCode 30 · Hard. Notes and Go solution for Substring with Concatenation of All Words.Binary Search219Sep 2025Reverse Binary Search TreeLeetCode 99 · Medium. Notes and Go solution for Reverse Binary Search Tree.LeetCode217Sep 2025Reverse Linked List IILeetCode 92 · Medium. Notes and Go solution for Reverse Linked List II.Two Pointers216Sep 2025Golang Interface: A Deep DiveUnderstanding the underlying mechanism of interface in GolangGolang216Sep 2025Interleaving StringLeetCode 97 · Medium. Notes and Go solution for Interleaving String.DP214Sep 2025Golang: _typeUnderstanding the internal structure of _type in GolangGolang214Sep 2025Convert Sorted List to Binary Search TreeLeetCode 109 · Medium. Notes and Go solution for Convert Sorted List to Binary Search Tree.Recursive212Sep 2025Go Iteration: for rangeUnderstanding the underlying mechanism of for range loop in GolangGolang212Sep 2025Golang Map: IterationUnderstanding how to iterate over a map in GolangGolang212Sep 2025Detonate the Maximum BombsLeetCode 2101 · Medium. Notes and Go solution for Detonate the Maximum Bombs.Graph211Sep 2025Number of ProvincesLeetCode 547 · Medium. Notes and Go solution for Number of Provinces.Union-Find209Sep 2025Nubmer of IslandsLeetCode 200 · Medium. Notes and Go solution for Nubmer of Islands.DFS207Sep 2025Golang ContextWhere should we put context, Struct or function parameter?Golang204Sep 2025Reverse PairsLeetCode 493 · Hard. Notes and Go solution for Reverse Pairs.Segment Tree201Sep 2025Golang Channel - Part 2Take a deep dive about Golang sudogGolang201Sep 2025Range Sum Query - MutableLeetCode 307 · Medium. Notes and Go solution for Range Sum Query - Mutable.Segment Tree231Aug 2025Go DeferUnderstanding how to use defer in Go for resource management and cleanup tasks.Golang231Aug 2025Segment TreeA quick look at segment tree, a powerful data structure for range queries and updates.Data Structure230Aug 2025Go Type Conversion and AssertionUnderstanding how to make type conversion and type assertion in Go and their limitations.Golang228Aug 2025Golang unsafeunsafe package in Go provides low-level programming capabilities, allowing developers to perform operations that are not normally safe in Go.Golang327Aug 2025Golang Channel - Part 1Channels in Go are powerful tools for communication between goroutines. This article explores their implementation, usage patterns, and best practices.Golang327Aug 2025Golang Variable InitializationUnderstanding variable initialization in Go is crucial for writing efficient and bug-free code. This article explores the different ways to initialize variables in GoGolang327Aug 2025First Missing PositiveLeetCode 41 · Hard. Notes and Go solution for First Missing Positive.In-place Hashing226Aug 2025Golang Map: A Deep DiveUnderstanding Go maps, their internal structure, performance characteristicsGolang226Aug 2025How Go Pass Values: Slice Vs MapUnderstanding how Go passes values, especially with slices and maps, is crucial for effective programming. This article explores the differences between passing slices and maps in Go.Golang325Aug 2025Median of Two Sorted ArraysLeetCode 4 · Hard. Notes and Go solution for Median of Two Sorted Arrays.Binary Search224Aug 2025Golang Slice: A Deep DiveUnderstanding Go slices, their dynamic nature, internal representation, and how to work with them effectively.Golang221Aug 2025Golang Strings: A Deep DiveUnderstanding Go strings, their immutability, encoding, and how to work with them effectively.Golang2