Skip to content

Add comments to all algorithms #630

Closed
@raklaptudirm

Description

@raklaptudirm

One of the main purposes of this repository is education. But for that, a comprehensive explanation of the various algorithms along with the mentioned references is required. This is achieved through well-commented code, but that is missing from many algorithms. This issue tries to start work on commenting on all the algorithms and establishing a good format for commenting. We also should check all new Pull Requests for code quality and comments.

A format suggestion for commenting:

/*
* Complete explanation of the given steps of the algorithm
* along with manual word wrapping.
*
* Using paragraphs, diagrams, and tables wherever
* required.
*
* ┌──────────┬───────┐
* |   Row 1  | Row 2 |
* ├──────────┼───────┤
* | Column 1 |  1,2  |
* ├──────────┼───────┤
* | Column 2 |  2,2  |
* └──────────┴───────┘
*
* References:
* List of references used in the above-given explanation
* from various sources.
* Each on a separate line.
* https://en.wikipedia.org/wiki/Box-drawing_character
*/

Metadata

Metadata

Assignees

No one assigned

    Labels

    code qualityCode quality improvementfeatureAdds a new featurehelp wantedNeeds to be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions