Hugo's Blog
-
-
-
-
Say Goodbye to Git Graph in VSCode: A New Era of Source Control Visualization
In the latest VSCode 1.93 version, VSCode has built Git Graph right into its Source Control tool, so we don't need an extra extension to see our Git history anymore. Let's explore this cool new feature together!
Built a 500 commits GitHub Repository: 10 essential steps you can't miss
A 500 commits Side Project is born, let's dive into how Hugo did it!
Improve Next.js Performance: Move Shared Components to Global Layout
Through Next.js's Global Layout, reduce the redundant loading of components to improve web performance.
Updating an Outdated Create React App (CRA) to Support TypeScript 5.x
Create React App (CRA) was officially deprecated by Facebook, and it's time to move on to other alternatives. However, we can still use CRA with TypeScript 5.x
by adding overrides
to the package.json
. Let's see how to do it!
💯✅ LeetCode 2181. Merge Nodes in Between Zeros | Go
You are given the head of a linked list, which contains a series of integers separated by 0's. The beginning and end of the linked list will have Node.val == 0.
💯✅ LeetCode 1480. Running Sum of 1d Array | Go
Given an array nums
. We define a running sum of an array as runningSum[i] = sum(nums[0]...nums[i])
. Return the running sum of nums
.
💯✅ LeetCode 1550. Three Consecutive Odds | Go
Given an integer array arr, return true if there are three consecutive odd numbers in the array. Otherwise, return false.
LeetCode 1382. Balance a Binary Search Tree - Easy Solution | Go
Given the root
of a binary search tree, return a balanced binary search tree with the same node values. If there is more than one answer, return any of them.