thealgorithms / website Goto Github PK
View Code? Open in Web Editor NEWThe Algorithms website providing GitHub's largest open-source algorithm library.
Home Page: https://the-algorithms.com
License: MIT License
The Algorithms website providing GitHub's largest open-source algorithm library.
Home Page: https://the-algorithms.com
License: MIT License
There's 2 entries for Aliquot Sum C# and Python+Ruby+Java
No response
No response
Right now every page has to load about 1MB of icons, which increases the first load time by a lot. @Panquesito7 is already working on a fix.
It would be cool if there'd be an option to make the website be in dark mode.
For example, I use Dark Reader, and it looks pretty cool in Dark Mode:
The current code preview is pretty clunky on mobile, a solution to that could be a second one specifically for mobile.
The current one one mobile:
@Panquesito7 what do you think of the current code view on mobile, is it okay as it is right now or should it be replaced?
Now that our network is growing, I think we should add a community partners page.
No response
These are our current community partners (as of now):
chetan:
Yes, let's add it. This way atleast we could know how many people are using the website also what all features are most used and focus on them.
I wouldn't use google analytics, but something simpler like plausible which could also be self-hosted.
Contributors are wrong, see https://the-algorithms.com/de/algorithm/linked-stack - it shows only a Lua implementation, yet 4 contributors are shown which haven't contributed to the Lua repo at all.
The Lua repo has tests and algorithm implementations neatly separated. It would be nice if there was a way to show (& probably run) the tests.
please replace the background image of the site. It features (ugh!) frontend/backend webapp BS code, not algorithm code.
error occured when run gradient descent algorithm python code on Code Playground
PythonError: Traceback (most recent call last):
File "/lib/python3.9/site-packages/_pyodide/_base.py", line 415, in eval_code
CodeRunner(
File "/lib/python3.9/site-packages/_pyodide/_base.py", line 296, in run
coroutine = eval(self.code, globals, locals)
File "", line 5, in
ModuleNotFoundError: No module named 'numpy'
No response
On mobile, the website is quite slow, and sometimes it just fails and you need to refresh the page.
That happens only on mobile, though. On my PC it works a bit slow but it's acceptable.
Any reasons why that happens?
Thanks.
If we search and choose any algorithm the default preview code is of python, if we click on the language icons provided below the code we will be redirect to the specific repository. Wouldn't it be nice if instead of redirecting to the repository just show the code in choosed language in the same way as it was for Python.
As mentioned in issue #142 (still open so I am contributing). The java sorting GitHub page doesn't open for any sorting algorithm.
with java baseDir being (baseDir: "src/main/java/com/thealgorithms",)
Now try to compare both of the like (provided by web and repo link)-
PS I think for the test we can do that it's not going to affect the website in any way.
No response
Many domains deployed with Vercel are not being redirected.
For example, see daed0a8#commitcomment-47549040 and go to one of the links (except for the 3rd and the 4th).
Bug: Responsiveness of the website
Device: Galaxy Fold
Dimensions: 280 x 653
No response
In the repositories section, I don't see all algorithm-repositories there.
For example, the MATLAB-Octave repository is missing from the list.
There are a ton of algorithms present on https://the-algorithms.com, but I feel that they aren't presented as well. Don't get me wrong, the site is well made, however I think adding difficulty levels to the algorithms and showing the number of people that have viewed it would add 2 new filters for people to search with and find good algorithms and make it easier to categorize.
I know this site is just for educational purposes only and mostly meant to be used as a tool to find the solution which you need for your problems, however I think that it could also be extended to cater to the people who just want to browse through some algorithms in general, and maybe learn something new. People would be able to compare themselves and their knowledge to others, and improve as a whole, learning from each other. At the present, the site's elegant and highly functional, but it cannot cater to those groups of people as well. Because when you go to, let's say, problems under Math
category, I don't exactly find anything new to learn from there (because I only see the names most of the time), neither do I know the level of the stuff in there. Some problems, like Fibonacci ones, are comparatively easy to stuff like Riemann Integration
, etc.
The reason I'm also advocating for the addition of views
is that, it could also allow people to know about popular topics, which are important to know for everyone. Like some stuff isn't always used by everyone, and can be very niche. Not everyone should be spending their time ignoring other well known topics which are useful to them and spending time to those niche algorithms. So it would help people to basically improve their strengths, rather than being jack of all trades. However I believe views
may not be a good factor all the time, since the niche algorithms might get overshadowed. But that's up for debate.
No response
No response
We now have a link to our Discord server using our domain, which is much easier to remember and share.
All discord.gg
instances should be replaced with https://the-algorithms.com/discord/
.
This is a good first issue. Please leave it open to beginners or first-time contributors. π
Idea is to add a code playground section in code view frame. Once user clicks on Play
button, user should be able to modify a virtual instance of current code and should be able to play around with that code by running the modified code on the very same page. This will create a beautiful learning experince.
It appears all the Vercel tests are failing, which prevents the website from being updated and deployed.
No response
No response
Can you explain what this regex expression is supposed to do? This is returning null value for every file due to which code inside the "if" block is not getting executed.
const match = dir.match(/(?:.+)\/(.+)\.md/);
I was just looking for something I could contribute when I found that there is a problem on converting degrees to radians on the website, implemented in Python (can be seen here)
Later when I tried looking for it (to put an implementation in JavaScript) but then I found this, the exact same problem but only implemented in JavaScript, under a slightly different name.
I am not sure how many of such duplicate problems can be found, but I would request:
No response
No response
Hey
I am new to this repository and just started to set it up on my local machine. I have already installed all the dependencies and fetched all the algorithms, but by booting the server, an error has resulted that the Fibonacci-numbers file is not found.
I couldn't find a connection to a communication channel, so I opened the issue.
It would be nice if anyone can help me resolve this.
I would like to work on CSS part of box so that to make more UI interactive . Kindly assign me this issue and I will work on this .
The scroll-bar could be customized for a better overall look of the website.
No response
No response
Hi. I'm Shisato Yano from Japan.
I found this project and it looks so great!!
I'd like to suggest to add function translating all sentences into Japanese on your website. I think that a lot of Japanese programmers are interested in this project and it's very useful for them to translate into Japanese.
If above my suggestion is also valuable for you guys, I will try contributing to this project by translating by myself. Is it OK?
No response
No response
Title for All algorithms on https://the-algorithms.com/hr/all does not translate. The title seems to be hard coded, because other languages have the same problem.
I'm not a programmer, but I think something needs to be changed in the file website/pages/all.tsx, so the translated string in Weblate gets used, just as it does in the website's footer (please see attached screenshots).
Algorithms from the Lua repo are missing. See the simplist radical form algorithm for an example.
Description
Code implementation links of algorithms when opened are giving 404 errors. I observed such behavior for Bubble sort.
Actual behavior
Actual behavior
4. See Github 404 page (the link is https://github.com/TheAlgorithms/Java/blob/master/Sorts/BubbleSort.java)
Expected behavior
4. Bubble sort page should open (the link is https://github.com/TheAlgorithms/Java/blob/master/src/main/java/com/thealgorithms/sorts/BubbleSort.java)
No response
Originally reported here TheAlgorithms/Java#2840
All repositories have an image, but there are some repositories
that are missing an image, such as the MATLAB-Octave repository.
@Panquesito7 the whole issue templates seem a bit unnecessary to me. All of the fields except What would you like to share?
are kinda useless.
Can we just revert to how the issue templates worked before where they just added tags to the issue?
No response
It is probably a good idea to bring all the folders in the different repositories to a common standard.
From @ayaankhan98 #60 (comment)
Yes, i think there must be a common standard for all the repositories.
Basically i think there is no need to maintain project type structure in such repositories, because each algorithm is independent of other and also each data structure is independent of other. It would be nice if we sum up one single algorithm in a single file (Implementation + Documentation + Tests). And arrange these files according to their categories. Most of the traffic of these repositories are among those peoples who are completely new to opensource or i would say who are new to computer programming (College undergraduates), our aim is to simplify the learning process by bringing all the generall data structures and algorithims under a single roof of The Algorithms. So, instead of creating a complex project strucutres i think it is better to keep things simple. we are not building any library or framework for algorithms, rather we are just simplifying the learning process.
There are already a lot of repositories with the same or almost the same folder structure (python, C++, C, ...), so we are probably going with a folder structure like in the python repo.
That means, every algorithm is in a single file (including inline documentation and tests) and every repo has the same top level folders (for example divide_and_conquer
).
There still are a few of errors in the data fetched from the repositories that need to be fixed.
tests
get picked upstrings
and string
are almost the samesrc
exists somehowsorting
sorts
sorters
sort
searching
searches
search
specs
get picked upothers
other
misc
are the samemath
and maths
are the samehashing
, hashes
and hash
are the samegraph
and graphs
are the samedivideconquer
and divideandconquer
are the samealgorithmstests
shouldn't existalgorithms
shouldn't be a category, instead the next tags of the algorithmSome of them need to be fixed in the workflow that creates the DIRECTORY.md
file directly in the seperate repositories, some can be fixed by expanding the aliases to also include categories.
https://the-algorithms.com/algorithm/singly-linked-list on this page the JS solution isnβt available but itβs implemented here https://github.com/TheAlgorithms/Javascript/blob/961f21f97c1ae53d79f90ee82a968d9a0409b968/Data-Structures/Linked-List/SinglyLinkList.js
No response
Meta, I think the description of the content report field should be a text box, because a having a single line for long text makes it hard to scan and modify.
Uneven sized algorithm box components on algorithm category pages
e.g. https://the-algorithms.com/category/dynamicprogramming,
https://the-algorithms.com/category/sorts
The Plausible Analytics page is not working and displaying an error.
This issue has been for a long time by now. I thought it was fixed. π
Let me know if you need any help in fixing this. :)
No response
The #98 PR introduces a bug in dark mode.
Remove directory workflow because it includes what it shouldn't (AssemblyInfo, interfaces, tests, etc.) and titles are ugly
The workflow should be reworked. I don't really know how those files work, so I would appreciate it, if you would do that @Panquesito7
Like the previous issue I made, I found 2 more Algorithms being the exact same. This time they were about Ugly Numbers (Java implementation & Python+Dart implementation) and Fermat's Little Theorem (Dart implementation & Python Implementation)
No response
No response
https://the-algorithms.com/language/aarch64-assembly. Click on the GitHub repo
button.
If there is a Jupyter notebook available for an algorithm, use this library to show it as an explanation for an algorithm.
For performance reasons, the render should be done at build time.
Python Implementation & Go Implementation
No response
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.