---
title: "Nhut Nguyen (@nhutnguyen) | Hashnode"
description: "Software developer and Writer. Read the latest articles by Nhut Nguyen on Hashnode."
url: "https://hashnode.com/@nhutnguyen"
---

@nhutnguyen

# Nhut Nguyen

@nhutnguyen · Copenhagen, Denmark · Joined August 2021

Software developer and Writer

[Website](https://nhutnguyen.com/)

### [Leetcode 59. How To Go Around A Square Matrix In Spiral Order](https://leetsolve.com/59-spiral-matrix-ii?utm_source=hashnode&utm_medium=feed)

A simple example of using C++ switch

2 min read · [leetsolve.com](https://leetsolve.com/59-spiral-matrix-ii?utm_source=hashnode&utm_medium=feed)

[Jan 31, 2024](https://hashnode.com/posts/59-spiral-matrix-ii/65ba284490beabe6b73b5da3)

### [Leetcode 120. How To Find The Minimum Path From Top To Bottom Of A Triangle](https://leetsolve.com/120-triangle?utm_source=hashnode&utm_medium=feed)

Two dynamic programming techniques to solve Leetcode 120. Triangle. One has space complexity O(n^2). The other is O(n).

4 min read · [leetsolve.com](https://leetsolve.com/120-triangle?utm_source=hashnode&utm_medium=feed)

[Jan 23, 2024](https://hashnode.com/posts/120-triangle/633a7382fa20fa4bc8e59740)

### [How To Find The Longest Substring Without Repeating Characters](https://leetsolve.com/3-longest-substring-without-repeating-characters?utm_source=hashnode&utm_medium=feed)

An example of using a sliding window approach and an unordered map to track character positions

3 min read · [leetsolve.com](https://leetsolve.com/3-longest-substring-without-repeating-characters?utm_source=hashnode&utm_medium=feed)

[Jan 16, 2024](https://hashnode.com/posts/3-longest-substring-without-repeating-characters/64902747588d27135a06f453)

### [How To Find The Maximal Subarray Having Distinct Elements](https://leetsolve.com/1695-maximum-erasure-value?utm_source=hashnode&utm_medium=feed)

A simple C++ solution to Leetcode 1695. Maximum Erasure Value using a sliding window approach and prefix sums.

2 min read · [leetsolve.com](https://leetsolve.com/1695-maximum-erasure-value?utm_source=hashnode&utm_medium=feed)

[Jan 9, 2024](https://hashnode.com/posts/1695-maximum-erasure-value/63313902991ed32fba41a894)

### [Common Mistakes in Coding Interviews and How to Avoid Them](https://leetsolve.com/common-mistakes-in-coding-interviews-and-how-to-avoid-them?utm_source=hashnode&utm_medium=feed)

Strategies to avoid them will help you excel in your following technical interview

6 min read · [leetsolve.com](https://leetsolve.com/common-mistakes-in-coding-interviews-and-how-to-avoid-them?utm_source=hashnode&utm_medium=feed)

[Jan 2, 2024](https://hashnode.com/posts/common-mistakes-in-coding-interviews-and-how-to-avoid-them/65b55cdc41112d07371b5c62)
