Comments (5)
I was thinking in the same thing. But I propose instead of split the problems by languages, it could continue in a problem name
folder and inside, folders with the respective languages solution.
from code-problems.
It sounds good, but I can't imagine that many solutions needing more than one file as I don't want to have incredibly detailed solutions here - that's what an actually library would be for. Should there be folders for for every language regardless of number of files to enforce consistency, or just folders for solutions that span multiple files?
from code-problems.
Yeah, thinking in this way... I don't know any language that obligates use more than one file.
But in this idea about create folders just for solutions that span multiple files
, sounds good to me.
from code-problems.
@vhbsouza Exactly one folder per language within each problem folder, yes, I should have been more clear. :)
That is a good point. I also can't think of any language that requires more than one file, so perhaps enforcing a one-file per language limit? As long as the same extension(s) for each language is used across the repository, I think this would be sufficient.
My personal concern is C++ classes. These are typically divided up into the header (.h) file and the implementation (.cpp) file. This saves compilation time when only the implementation changes. But if these are all one-off solutions that don't belong in any real projects, this becomes a non-issue. I can just define everything in the header.
from code-problems.
Should be resolved with the updated structure.
from code-problems.
Related Issues (20)
- is the refactor of the binary-search-tree.js ok? HOT 2
- Broken tests? HOT 1
- Misleading framing of question HOT 3
- Array indexed exception for LongestCommonPrefix.java HOT 3
- [combine-two-strings] Length of string is not checked HOT 1
- Maintainers
- [combine-two-strings] Only looks ahead one character
- largest-palindrome.js break the test in JsHint phase. HOT 1
- Need helpwith this code, scater packaging
- code problem HOT 1
- for loop simplify in array pair sum case
- A new simple solution for find missing element problem
- Implement Balanced Brackets in Python
- Provide overview in README HOT 2
- Next highest number method does not work correctly
- No Code in Merge Sort HOT 3
- JS and CoffeeScript solutions to Largest Continuous Sum fail for arrays of negative numbers
- JS solution to Stack Machine fails tests HOT 5
- Where should I place my HeapSort InsertionSort? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from code-problems.