Skip to content

This is a repository of my Leetcode solutions. I will update this repo once I solve a problem.

jerryljq/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jerry's Leetcode Repository

This is a repository of my Leetcode solutions. I will update this repo once I solve a problem.

I might categorize these problems by their types in the future.

This repo is written in C++ (before 2018) and C# (Updated 2022).

How to use

  • Header common.h defines some regular libraries that will be used in each problem, such as map, vector container from STL.
  • main.cpp is the entry of all those solution. For each problem, include relevant q[prob number].h file into main.cpp. You can also handle input and output inside this main file.
  • To compile, just simply execute g++ main.cpp.
  • Note: some C# solutions were added after I have been working at Microsoft. Sorry I just got used to C# and need more time to switch my mind back to C++ TAT...

List of solved problems

  • 3
  • 20
  • 21
  • 24
  • 26
  • 27
  • 33
  • 53
  • 54
  • 56
  • 66
  • 75
  • 79
  • 80
  • 88
  • 91
  • 94
  • 98
  • 102
  • 103
  • 104
  • 114
  • 116
  • 119
  • 121
  • 136
  • 138
  • 141
  • 142
  • 151
  • 162
  • 168
  • 171
  • 173
  • 186
  • 191
  • 204
  • 206
  • 208
  • 215
  • 226
  • 235
  • 237
  • 258
  • 263
  • 268
  • 283
  • 292
  • 338
  • 344
  • 348
  • 371
  • 387
  • 389
  • 468
  • 561
  • 563
  • 650
  • 651

About

This is a repository of my Leetcode solutions. I will update this repo once I solve a problem.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •