Open likecs opened 7 years ago
The purpose of duplicate codes at multiple location is to keep each category self satisfying in itself.
GitHub does not have the feature to setup links between folders of the repository. Currently, we have to maintain this manually but an efficient way to manage this is in progress and will soon be incorporated in Cosmos 👍
@AdiChat I agree with you, but I have a suggestion for this. Instead of duplicating the files and directories to keep each category in self-satisfying in itself. What we can do is, we can keep the files where they are most suited and for other categories, we can just give links to them using a README.md in each category.
There are many files and folders which are duplicated. For example : Dijkstra's algorithm which is both a graph and greedy algorithm exists in both the folders. Similar is case with many other files like bellman ford, binomial coefficient and so on.
According to me, only one place should be given to all of them. This will also prevent addition of code (through pull requests) on the same topic since it is already present there.