billjedi / leetcode-1

C++ Solutions of LeetCode Problems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LeetCode

Language License

Getting Started

Requirements

  • C++11 compatible compiler: g++ (version >= 4.2), or clang++ (version >= 3.0)
  • CMake (version >= 3.0.2)

Build Instructions

mkdir -p build
cd build
cmake ..
make

Testing

All solutions have unit tests powered by Catch framework. To run the tests, execute tests/Test.

Expected output:

===============================================================================
All tests passed (xxxx assertions in xxx test cases)

Categories

Array

# Title Solution Difficulty Tag Note
1 Two Sum src test Easy
548 Split Array with Equal Sum src test Medium đź”’

About

C++ Solutions of LeetCode Problems

License:MIT License


Languages

Language:C++ 99.9%Language:CMake 0.1%