All Projects → SaulLawliet → leetcode

SaulLawliet / leetcode

Licence: other
Pure C solutions for LeetCode. Contains unit tests and helper methods. (纯C解题, 包含单元测试和帮助方法)

Programming Languages

c
50402 projects - #5 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to leetcode

Leetcode-solutions
Leetcode Grinder.
Stars: ✭ 14 (-26.32%)
Mutual labels:  leetcode, leetcode-solutions, leetcode-c
Leetcodeanimation
Demonstrate all the questions on LeetCode in the form of animation.(用动画的形式呈现解LeetCode题目的思路)
Stars: ✭ 68,143 (+358547.37%)
Mutual labels:  leetcode, leetcode-solutions, leetcode-c
Leetcode
Solutions to LeetCode problems; updated daily. Subscribe to my YouTube channel for more.
Stars: ✭ 3,090 (+16163.16%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Solutions
🏋️ Python / Modern C++ Solutions of All 2111 LeetCode Problems (Weekly Update)
Stars: ✭ 2,787 (+14568.42%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Python
LeetCode solutions in Python2. LeetCode题解 in Python2。
Stars: ✭ 182 (+857.89%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Js
用 JS 刷 LeetCode
Stars: ✭ 165 (+768.42%)
Mutual labels:  leetcode, leetcode-solutions
InterviewPrep
A repository containing link of good interview questions
Stars: ✭ 54 (+184.21%)
Mutual labels:  leetcode, leetcode-solutions
Js Algorithms
A collection of algorithms written in javascript
Stars: ✭ 182 (+857.89%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode In Swift
My solutions to LeetCode problems written in Swift
Stars: ✭ 150 (+689.47%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Java Solutions
Solutions to LeetCode Online Judge problems in Java
Stars: ✭ 194 (+921.05%)
Mutual labels:  leetcode, leetcode-solutions
Windary
🎓 My solutions to LeetCode problems written in Go, Java, JavaScript, Kotlin, Python, Rust & Swift.
Stars: ✭ 189 (+894.74%)
Mutual labels:  leetcode, leetcode-solutions
SQL-Practice
Solutions to Problems For SQL on Leetcode, Hackerrank & DataLemur
Stars: ✭ 116 (+510.53%)
Mutual labels:  leetcode, leetcode-solutions
Algorithms Leetcode Javascript
Algorithms resolution in Javascript. Leetcode - Geeksforgeeks - Careercup
Stars: ✭ 157 (+726.32%)
Mutual labels:  leetcode, leetcode-solutions
Interviews
Everything you need to know to get the job.
Stars: ✭ 54,875 (+288715.79%)
Mutual labels:  leetcode, leetcode-solutions
D.s.a Leet
References and summary for leetcode high-frequency algorithm problems
Stars: ✭ 155 (+715.79%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Notes
LeetCode 算法解答
Stars: ✭ 172 (+805.26%)
Mutual labels:  leetcode, leetcode-solutions
Leetcodesolutions
Theoretical solutions for LeetCode problems.
Stars: ✭ 205 (+978.95%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Java
leetcode 解题方法 Java 语言描述,包含各种常见解题模板和各个题目出题频率
Stars: ✭ 144 (+657.89%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode
leetcode刷题
Stars: ✭ 145 (+663.16%)
Mutual labels:  leetcode, leetcode-solutions
Leetcode Solutions
A compilation of all the Leetcode solutions.
Stars: ✭ 188 (+889.47%)
Mutual labels:  leetcode, leetcode-solutions

LeetCode OJ

  • 定期刷题, 为了保持思维的活跃
  • 只用 C 解题, 手写数据结构和对内存的管理
  • 每个 solution 都包含单元测试
  • 最后, 特别感谢 miloyip/json-tutorial

脚本使用说明

# 执行第1题
c/test.sh 1
# 执行前10题
c/test.sh $(seq 10)
# 执行全部题
c/test.sh all
# 执行库文件的测试
c/test.sh lib

# -m 开启内存泄露检查, 使用valgrind, 如
c/test.sh -m 1
c/test.sh -m all
c/test.sh -m lib

注意, 有一些没有编号的题放在 c/000/ 目录下

# 用法: c/test.sh <文件名前缀> 
# 原理: ls "c/000/$1*.c"
# 例如: c/000/perform-string-shifts.c
c/test.sh perform-string-shift
#
c/test.sh perform

其他

官方会调整函数的参数以及测试用例
如果有小伙伴发现失效的解答
可以提醒我一下, 多谢~❤️

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].