Skip to content

LuaanNguyen/go-leetcode

Repository files navigation

Daily LeetCode Solutions in Go ✏️

This repository contains my solutions to LeetCode problems in Go.

Go

Folder Structure 🗂️

  • easy/: Easy level problems.
  • medium/: Medium level problems.
  • hard/: Hard level problems.

Unit Testing 🧪

In your root direction, run:

go test ./...

If you only want to run tests in a specific problem (e.g., ./easy/0001_two_sum), run:

go test ./easy/0001_two_sum

Solutions (Continue Updating...)

Leetcode ID Title & Solution Coefficient Of Difficulty Remarks
0001 Two Sum Easy HashTable Array
0392 Is Subsequence Easy Two Pointers String
3042 Count Prefix and Suffix Pairs I Easy Array String
2185 Counting Words With a Given Prefix Easy Array String String Matching
1400 Construct K Palindrome Strings Medium HashTable String Greedy Counting

License 🪪

MIT License
Copyright (c) 2025 Luan Nguyen

Releases

No releases published

Packages

No packages published

Languages