Skip to content

Commit bd98a8a

Browse files
authored
Create CONTRIBUTING.md
1 parent fc3d4a7 commit bd98a8a

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
If you're creating a new file, use this template as your header:
2+
3+
````
4+
## file-name
5+
````
6+
7+
To contribute a new method, please follow this template:
8+
9+
````
10+
### [file_name.**method**(*arg*, *kwarg=default*)](/file_name.py)
11+
12+
Description of the method.
13+
14+
[LeetCode Problem Name](https://leetcode.com/problems/leetcode-problem-link)
15+
```python
16+
def defaultMethodName(args):
17+
# Write your code here
18+
```
19+
````
20+
21+
To contribute a new class, please follow this template:
22+
23+
````
24+
### [class file_name.**ClassName**(*arg*, *kwarg*)](/file_name.py)
25+
26+
Description of the class.
27+
28+
**method_within_class**(*arg*, *kwarg*)
29+
30+
Description of the method.
31+
32+
[LeetCode Problem Name](https://leetcode.com/problems/leetcode-problem-link)
33+
```python
34+
def defaultMethodName(args):
35+
# Write your code here
36+
```
37+
````

0 commit comments

Comments
 (0)