javascript-algorithms icon indicating copy to clipboard operation
javascript-algorithms copied to clipboard

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

Results 281 javascript-algorithms issues
Sort by recently updated
recently updated
newest added

`isPowerOfTwo` algos don't specify their ranges

[{"_id":"62e716881f0b0f03ff042766","body":"@Rudxain I want to fix this issue can you assign it to me ..... ","issue_id":1659297582616,"origin_id":1141160918,"user_origin_id":95767787,"create_time":1653917261,"update_time":1653917261,"id":1659311752767,"updated_at":"2022-07-31T23:55:52.766000Z","created_at":"2022-07-31T23:55:52.766000Z"},{"_id":"62e716881f0b0f03ff042768","body":"> Can you assign it to me\r\n\r\nI don't have any authority to do that lol. You could open a PR and write \"Fixes #889\" or \"Closes #889\" to auto-close this Issue if it gets merged","issue_id":1659297582616,"origin_id":1141589198,"user_origin_id":76864299,"create_time":1653961979,"update_time":1653962009,"id":1659311752770,"updated_at":"2022-07-31T23:55:52.769000Z","created_at":"2022-07-31T23:55:52.769000Z"},{"_id":"62e716881f0b0f03ff042769","body":"Wait I realized there's a *bigger* Issue. The bitwise `isPowerOfTwo` is **duped**, an instance is in the math\/bits folder, and the other in math\/is-power-of-two. This makes no sense. The bitwise variant isn't mathematical, it should be exclusively located in the `bits` directory, not directly within `math`. I'm gonna open a PR","issue_id":1659297582616,"origin_id":1141593195,"user_origin_id":76864299,"create_time":1653962606,"update_time":1653962606,"id":1659311752772,"updated_at":"2022-07-31T23:55:52.772000Z","created_at":"2022-07-31T23:55:52.772000Z"},{"_id":"62e716881f0b0f03ff04276a","body":"@Yash-Var I've already opened a PR. If you want to contribute you can send PRs to my fork, or open an independent PR that solves this Issue in a different way","issue_id":1659297582616,"origin_id":1141611043,"user_origin_id":76864299,"create_time":1653964982,"update_time":1653964982,"id":1659311752774,"updated_at":"2022-07-31T23:55:52.774000Z","created_at":"2022-07-31T23:55:52.774000Z"}] comment

Neither the README nor the src files explicitly say that the bitwise approach is only correct for 32bit ints. The way it's worded implies that the bitwise approach is always...

Update breadthFirstSearch.js

[{"_id":"62e716891f0b0f03ff04276b","body":" na","issue_id":1659297582619,"origin_id":1141492451,"user_origin_id":71995793,"create_time":1653946884,"update_time":1653946884,"id":1659311753076,"updated_at":"2022-07-31T23:55:53.076000Z","created_at":"2022-07-31T23:55:53.076000Z"}] comment

[Typo] README.md

[{"_id":"62e716891f0b0f03ff04276c","body":"I'd like to be of help can I be assigned this?","issue_id":1659297582622,"origin_id":1133919424,"user_origin_id":65759360,"create_time":1653233001,"update_time":1653233037,"id":1659311753375,"updated_at":"2022-07-31T23:55:53.375000Z","created_at":"2022-07-31T23:55:53.375000Z"},{"_id":"62e716891f0b0f03ff04276d","body":"I made a PR regarding this, https:\/\/github.com\/trekhleb\/javascript-algorithms\/pull\/888","issue_id":1659297582622,"origin_id":1140486823,"user_origin_id":86042508,"create_time":1653843471,"update_time":1653843471,"id":1659311753378,"updated_at":"2022-07-31T23:55:53.377000Z","created_at":"2022-07-31T23:55:53.377000Z"},{"_id":"659469ccb15f7d23a5061bcd","body":" I am new to open source, I want to take up the issue can you please guide me a bit. Can you please assign me to this task.","issue_id":1659297582622,"origin_id":1415800181,"user_origin_id":69814563,"create_time":1675426917,"update_time":1675426917,"id":1704225228837,"updated_at":"2024-01-02T19:53:48.837000Z","created_at":"2024-01-02T19:53:48.837000Z"},{"_id":"659469ccb15f7d23a5061bcf","body":"if its done then why issue is still opened? ","issue_id":1659297582622,"origin_id":1829197717,"user_origin_id":37351435,"create_time":1701153043,"update_time":1701153043,"id":1704225228846,"updated_at":"2024-01-02T19:53:48.846000Z","created_at":"2024-01-02T19:53:48.846000Z"}] comment

In line 280 of the README.md it says `In case if linting or testing is failing` It should say `In case of linting or testing is failing` [README.md](https://github.com/trekhleb/javascript-algorithms/files/8516112/README.md)

U

[{"_id":"62e716be20254a0ab074df03","body":"Provide the issue with proper description ","issue_id":1659297582626,"origin_id":1140307565,"user_origin_id":59140576,"create_time":1653761371,"update_time":1653761371,"id":1659311806300,"updated_at":"2022-07-31T23:56:46.299000Z","created_at":"2022-07-31T23:56:46.299000Z"}] comment

add unit test for interpolationSearch.js

[{"_id":"62e716be20254a0ab074df06","body":"\u60a8\u597d,\u6211\u5df2\u7ecf\u6536\u5230\u60a8\u7684\u4fe1\u3002","issue_id":1659297582632,"origin_id":1133152890,"user_origin_id":12765253,"create_time":1653068011,"update_time":1653068011,"id":1659311806614,"updated_at":"2022-07-31T23:56:46.613000Z","created_at":"2022-07-31T23:56:46.613000Z"},{"_id":"62e716be20254a0ab074df09","body":"\u672c\u5ea7\u6b63\u5728\u6e21\u52ab\uff0c\u6709\u4e8b\u8bf7\u7559\u8a00......","issue_id":1659297582632,"origin_id":1133153993,"user_origin_id":41558684,"create_time":1653068094,"update_time":1653068094,"id":1659311806618,"updated_at":"2022-07-31T23:56:46.617000Z","created_at":"2022-07-31T23:56:46.617000Z"}] comment

Here is the report: https://docs.google.com/document/d/188vsDiq5C8d0sqrqgrdbt4NxzM9vvWLQc6UaFKQPczQ/edit

I thought the descriptions of the early and postscript in the pseudocode also needed to be translated, so I did. I also fixed a logic error in the doubly linked...

It appears the `hamiltonian-cycle` module finds all possible cycles. Does the eulerian path module find all possible cycles, or just one? If not, how would you modify it to find...