漫行记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 Search2′19Sep 2025Reverse Binary Search TreeLeetCode 99 · Medium. Notes and Go solution for Reverse Binary Search Tree.LeetCode2′17Sep 2025Reverse Linked List IILeetCode 92 · Medium. Notes and Go solution for Reverse Linked List II.Two Pointers2′16Sep 2025Golang Interface: A Deep DiveUnderstanding the underlying mechanism of interface in GolangGolang2′16Sep 2025Interleaving StringLeetCode 97 · Medium. Notes and Go solution for Interleaving String.DP2′14Sep 2025Golang: _typeUnderstanding the internal structure of _type in GolangGolang2′14Sep 2025Convert Sorted List to Binary Search TreeLeetCode 109 · Medium. Notes and Go solution for Convert Sorted List to Binary Search Tree.Recursive2′12Sep 2025Go Iteration: for rangeUnderstanding the underlying mechanism of for range loop in GolangGolang2′12Sep 2025Golang Map: IterationUnderstanding how to iterate over a map in GolangGolang2′12Sep 2025Detonate the Maximum BombsLeetCode 2101 · Medium. Notes and Go solution for Detonate the Maximum Bombs.Graph2′11Sep 2025Number of ProvincesLeetCode 547 · Medium. Notes and Go solution for Number of Provinces.Union-Find2′09Sep 2025Nubmer of IslandsLeetCode 200 · Medium. Notes and Go solution for Nubmer of Islands.DFS2′07Sep 2025Golang ContextWhere should we put context, Struct or function parameter?Golang2′04Sep 2025Reverse PairsLeetCode 493 · Hard. Notes and Go solution for Reverse Pairs.Segment Tree2′01Sep 2025Golang Channel - Part 2Take a deep dive about Golang sudogGolang2′01Sep 2025Range Sum Query - MutableLeetCode 307 · Medium. Notes and Go solution for Range Sum Query - Mutable.Segment Tree2′31Aug 2025Go DeferUnderstanding how to use defer in Go for resource management and cleanup tasks.Golang2′31Aug 2025Segment TreeA quick look at segment tree, a powerful data structure for range queries and updates.Data Structure2′30Aug 2025Go Type Conversion and AssertionUnderstanding how to make type conversion and type assertion in Go and their limitations.Golang2′28Aug 2025Golang unsafeunsafe package in Go provides low-level programming capabilities, allowing developers to perform operations that are not normally safe in Go.Golang3′27Aug 2025Golang Channel - Part 1Channels in Go are powerful tools for communication between goroutines. This article explores their implementation, usage patterns, and best practices.Golang3′27Aug 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 GoGolang3′27Aug 2025First Missing PositiveLeetCode 41 · Hard. Notes and Go solution for First Missing Positive.In-place Hashing2′26Aug 2025Golang Map: A Deep DiveUnderstanding Go maps, their internal structure, performance characteristicsGolang2′26Aug 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.Golang3′25Aug 2025Median of Two Sorted ArraysLeetCode 4 · Hard. Notes and Go solution for Median of Two Sorted Arrays.Binary Search2′24Aug 2025Golang Slice: A Deep DiveUnderstanding Go slices, their dynamic nature, internal representation, and how to work with them effectively.Golang2′21Aug 2025Golang Strings: A Deep DiveUnderstanding Go strings, their immutability, encoding, and how to work with them effectively.Golang2′