Common Challenges & Style #2
IamBisrutPyne
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🛠️ Common Questions & Quick Fixes
If you run into issues while submitting a Pull Request (PR), check here first!
1. Which folder should I use?
If you are unsure where your code belongs, here are the core concepts:
Basics: Simple input/output, loops, basic functions.
Algorithms: Sorting, searching, mathematical functions, pathfinding.
DataStructures: Linked Lists, Stacks, Queues, Trees.
OOP: Classes, Inheritance, Encapsulation, Polymorphism.
If you are still unsure, tag a maintainer in your Issue or PR, and we'll help guide you!
2. Why was my PR closed? (The File Path Error)
The single most common reason for a PR being closed is an incorrect file path.
❌ BAD Path:
bubble_sort.py✅ GOOD Path:
Snippets/Algorithms/Python/bubble_sort.pyPlease double-check that your file is inside the correct Concept folder AND Language folder within the main
Snippets/directory.3. What if my language folder doesn't exist?
Go ahead and create it! If you are the first to submit a C# snippet, you should create the path:
Snippets/Algorithms/CSharp/YourFile.cs.🤝 We welcome new language additions!
Beta Was this translation helpful? Give feedback.
All reactions