Skip to content
/ algo Public

A collection of my data structure implementations, algorithms, solutions to Codewars, Project Euler, Leetcode and programming competitions in C++.

License

Notifications You must be signed in to change notification settings

wmcnamara/algo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algo

A collection of algorithms and data structures I implemented in C++.

Each file includes an implementation, and a program to run a test.

Searching

  • Binary Search
  • Linear Search

Sorting

  • Bubble Sort
  • Quick Sort
  • Counting Sort

Structures

  • Linked List
  • Stack
  • Binary Search Tree
  • Hashmap

Graph Algorithms

Contained in graph.h

  • Depth First Search
  • Breadth First Search
  • Directed Acyclic/Cyclic implementations

Challenges

  • Canadian Computing Competition Senior Problem 2

Codewars

  • Bit Counting
  • Sum of Intervals
  • Gap in Primes
  • Wait Without Blocking

Leetcode

  • Majority Element 2
  • Duplicate Zeros
  • Contains Duplicate 2
  • Majority Element
  • Find All Lonely Numbers in the Array

Project Euler

  • Problem 1
  • Problem 2
  • Problem 3
  • Problem 4
  • Problem 5
  • Problem 6
  • Problem 7
  • Problem 8
  • Problem 9

About

A collection of my data structure implementations, algorithms, solutions to Codewars, Project Euler, Leetcode and programming competitions in C++.

Topics

Resources

License

Stars

Watchers

Forks

Languages