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