Skip to content

aluvse/go-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Algorithms

Party Gopher

A repository dedicated to algorithm problem-solving and computer science fundamentals.

Statistics

  • ✅LeetCode: 16 problems

LeetCode

# Title Difficulty Solution Time Space
0001 Two Sum Easy Go $O(n)$ $O(n)$
0009 Palindrome Number Easy Go $O(\log_{10}(n))$ $O(1)$
0014 Longest Common Prefix Easy Go $O(n \cdot k)$ $O(1)$
0027 Remove Element Easy Go $O(n)$ $O(1)$
0049 Group Anagrams Medium Go $O(n \cdot k)$ $O(n \cdot k)$
0075 Sort Colors Medium Go $O(n)$ $O(1)$
0169 Majority Element Easy Go $O(n)$ $O(1)$
0217 Contains Duplicate Easy Go $O(n)$ $O(n)$
0242 Valid Anagram Easy Go $O(n)$ $O(k)$
0271 Encode and Decode Strings Medium Go $O(n)$ $O(1)$
0304 Top K Frequent Elements Medium Go $O(1)$ $O(1)$
0347 Range Sum Query 2D Medium Go $O(n)$ $O(n)$
0705 Design HashSet Easy Go $O(1)$ $O(M)$
0706 Design HashMap Easy Go $O(1)$ $O(M)$
0912 Sort an Array Medium Go $O(n \cdot \log \ n)$ $O(n)$
1929 Concatenation of Array Easy Go $O(n)$ $O(n)$

Technical Overview

Solutions are implemented in Go (Golang). The primary focus is on optimizing time complexity and understanding algorithmic patterns.

Directory Structure

  • /solutions: Flat directory containing all source code files named as [number]_[title].go.
  • README.md: Progress tracker and index.

About

Practice of algorithms and data structures using Go. Solutions for LeetCode, CodeWars, and other platforms with Big-O complexity analysis.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages