8000 D solutions by cyrusmsk · Pull Request #305 · egonSchiele/grokking_algorithms · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

D solutions #305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
May 1, 2025
Merged

D solutions #305

merged 12 commits into from
May 1, 2025

Conversation

cyrusmsk
Copy link
Contributor
@cyrusmsk cyrusmsk commented Mar 3, 2025

This PR is introducing all solutions for the D programming language.

Most of the examples were just ported from other languages with the same logic and approaches.
All codes are tested with LDC compiler, but should also work without any issues with other D compilers (DMD and GDC).

All examples were ported from the Python code directly to D.
Naming convention of Dlang is not allowing to run code files, which started with numbers. To run examples rename the files
Based on the Python code
Added D example for breadth-first search
Filesystem example in D
Added Dijkstras algorithm implementation for D
Added greedy algorythm for D
Added dynamic programming example for D language.
The code is based on Rust example
Required to run code with names starting with numbers
@cyrusmsk
Copy link
Contributor Author

Kind reminder @egonSchiele

@egonSchiele
Copy link
Owner

awesome, thanks!

@egonSchiele egonSchiele merged commit 9ff7468 into egonSchiele:master May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0