aav789 / LeetCode-1

💡 LeetCode in C++/Java/Python (respect coding conventions)

Home Page:https://walkccc.me/LeetCode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LeetCode

LeetCode Solutions

Getting Started

In this repository, I'll work on solutions to LeetCode problems by C++, Java, and Python as much as I could.

Also, I build a website by GitHub Actions to host the code files by markdown files. You can see the built page here: LeetCode Solutions.

Coding Style

I believe messy code is costing you.

Therefore, I follow the formatter 99% of the time, but in rare situations, I format the code manually because it might look better in these cases.

Take a look at my configuration related to formatters in ~/.config/nvim/init.vim:

call plug#begin('~/.local/share/nvim/plugged')
Plug 'google/vim-maktaba'
Plug 'google/vim-codefmt'
Plug 'google/vim-glaive'
call plug#end()

augroup autoformat_settings
  autocmd FileType c,cpp AutoFormatBuffer clang-format
  autocmd FileType java AutoFormatBuffer clang-format
  autocmd FileType python AutoFormatBuffer autopep8
augroup END

More Information

The repository is still under construction, and the goal is to keep up with the growth of LeetCode problems by the end of the year!

For more information, please visit my GitHub.

Hosted the site on Feb 23, 2019.

Revised on Dec 25, 2019.

Added init.vim on Jan 18, 2021.

About

💡 LeetCode in C++/Java/Python (respect coding conventions)

https://walkccc.me/LeetCode


Languages

Language:Java 40.3%Language:C++ 40.3%Language:Python 19.4%