This repository contains my solutions to LeetCode problems in Go.
easy/
: Easy level problems.medium/
: Medium level problems.hard/
: Hard level problems.
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
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 |
MIT License
Copyright (c) 2025 Luan Nguyen