Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 803 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 803 Bytes

Leetcode Solutio in C

genname.sh for creating directory for problem.

./genname "91. Decode Ways" will create a 200/91-Decode-Ways folder.

./genname "1370. Increasing Decreasing String" will create a 1400/1370-Increasing-Decreasing-String folder.

C Programming Environments in LeetCode

From https://support.leetcode.com/hc/en-us/articles/360011833974-What-are-the-environments-for-the-programming-languages:

  • Compiled with gcc 11 using the gnu11 standard.
  • Your code is compiled with level one optimization (-O2). AddressSanitizer is also enabled to help detect out-of-bounds and use-after-free bugs.
  • Most standard library headers are already included automatically for your convenience.
  • For hash table operations, you may use uthash. "uthash.h" is included by default.