raklaptudirm
Repos
8
Followers
105
Following
34

Terminal Shell and Scripting language

5
1

Simple Torrent downloader

2
0

Perfect Tic-Tac-Toe Engine

2
0

Brainfuck Interpreter, Transpiler, Optimizer, and Toolkit

2
0

Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.

23829
3964

Algorithms implemented in Go for beginners, following best practices.

11498
1948

Events

issue comment
Improve Bubblesort comparisons

Tests are failing fix the code.

Created at 2 days ago

algorithm: bucketsort and pancakesort (#606)

Merge branch 'master' into heap

Created at 2 days ago

algorithm: bucketsort and pancakesort (#606)

Created at 2 days ago
pull request closed
algorithm: bucketsort and pancakesort

Description of Change

This PR contains the two sort algorithms "Bucket Sort" and "Pancake Sort".

Checklist

  • [x] Added description of change
  • [x] Added file name matches File name guidelines
  • [x] Added tests and example, test must pass
  • [x] Added documentation so that the program is self-explanatory and educational - GoDoc guidelines
  • [x] Relevant documentation/comments is changed or added
  • [x] PR title follows semantic commit guidelines
  • [x] Search previous suggestions before making a new one, as yours may be a duplicate.

Notes: add Bucket Sort & Pancake Sort

Created at 2 days ago
issue comment
algorithm: Hexagonal number

@appgurueu Do you think it's too trivial and unremarkable to be merged?

Created at 2 days ago

fix: Fix file name of constraints package (#608)

Created at 1 week ago
pull request closed
fix: file name of constraints package

It looked wrong to me, so I fixed it.

Created at 1 week ago

feat(cipher/transposition): add fuzz test to transposition cipher #600 (#601)

Created at 1 week ago
pull request closed
feat(cipher/transposition): add fuzz test to transposition cipher #600

Hi again, in the context of #480 I'm adding the fuzz tests for the transposition algorithm. I tested it with go test -./cipher/transposition/ for the corpus and go test -fuzz=FuzzTransposition ./cipher/transposition/ to run the fuzzer itself. Let me know if you have any feedbacks about it. Thanks!

Created at 1 week ago

feat: add parseNestedBrackets (#79)

Created at 1 week ago
pull request closed
feat: add `parseNestedBrackets`
  • [x] Algorithm: Nested Brackets Parsing
Created at 1 week ago
push

algorithm: distance between two points (#568)

  • feat: cartesian plane algorithm two point distance added

  • test: function tests and bechmark test added

  • Fix: typo mistake

Co-authored-by: Rak Laptudirm rak@laptudirm.com

  • fix: review comments incorporated

  • fix: review suggestions

  • fix: linter issues

  • fix: updated comment as per code changes

  • test: added test for error, updated benchmark test

  • fix: test package name and error handling

Co-authored-by: Rak Laptudirm rak@laptudirm.com

docs: Documentation changes (#598)

Bolded "removing bugs" on line 28.

tests(cipher/rsa): add fuzz test to rsa cipher (#591)

  • Updated Documentation in README.md

  • feat(cipher/rsa): add fuzz test to rsa

Co-authored-by: github-action ${GITHUB_ACTOR}@users.noreply.github.com Co-authored-by: Taj tjgurwara99@users.noreply.github.com

algorithm: Aliquot Sum (#594)

  • feat: Add Aliquot Sum implementation

  • test: Add test for Aliquot Sum algorithm

  • fix: Add separate case for n=1

  • refactor: Refactor condition in for loop

Co-authored-by: Rak Laptudirm rak@laptudirm.com

update: delete middle func for linked list (#560)

  • Added code for delete in middle for linkedlist

  • update to previous commit of linked list

  • Changes as requested to linkedlist

  • removed delete in middle code

Co-authored-by: Rak Laptudirm rak@laptudirm.com

feat(cipher/polybius): add fuzz test to polybius cipher (#600)

algorithm: Pronic number (#595)

algorithm: check if string is isogram (#599)

Merge branch 'master' into fuzz-transposition

Created at 1 week ago
push

update: delete middle func for linked list (#560)

  • Added code for delete in middle for linkedlist

  • update to previous commit of linked list

  • Changes as requested to linkedlist

  • removed delete in middle code

Co-authored-by: Rak Laptudirm rak@laptudirm.com

feat(cipher/polybius): add fuzz test to polybius cipher (#600)

algorithm: Pronic number (#595)

algorithm: check if string is isogram (#599)

Merge branch 'master' into add-bucketsort-and-pancakesort

Created at 1 week ago

chore: update gitlab link

Created at 2 weeks ago

chore: remove stackoverflow link

Created at 2 weeks ago

algorithm: check if string is isogram (#599)

Created at 2 weeks ago
pull request closed
algorithm: check if string is isogram
Created at 2 weeks ago

tests: improve for GeneratePermutations (#1263)

Created at 2 weeks ago
pull request closed
tests: improve for GeneratePermutations

Open in Gitpod know more

Describe your change:

The original test was very limited and enforced a strict ordering of the results which the algorithm doesn't guarantee. I've loosened that restriction, and added two extra "complete" tests containing elements besides numbers.

For tests where we don't want to hardcode every possible result I've added a sanity check that will at least verify whether the number of results is accurate.

  • [ ] Add an algorithm?
  • [ ] Fix a bug or typo in an existing algorithm?
  • [x] Documentation change?

Checklist:

  • [x] I have read CONTRIBUTING.md.
  • [x] This pull request is all my own work -- I have not plagiarized.
  • [x] I know that pull requests will not be merged if they fail the automated tests.
  • [x] This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
  • [ ] All new JavaScript files are placed inside an existing directory.
  • [ ] All filenames should use the UpperCamelCase (PascalCase) style. There should be no spaces in filenames. Example:UserProfile.js is allowed but userprofile.js,Userprofile.js,user-Profile.js,userProfile.js are not
  • [ ] All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
  • [ ] If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.

Created at 2 weeks ago

chore: remove twitter link since it is already in about

Created at 2 weeks ago

algorithm: Pronic number (#595)

Created at 2 weeks ago
pull request closed
algorithm: Pronic number

This PR contains commits related to pronic number implementation.

Thanks.

Created at 2 weeks ago

fix: handle multibyte chars propertly in LongestCommonSubsequence (#578)

algorithm: distance between two points (#568)

  • feat: cartesian plane algorithm two point distance added

  • test: function tests and bechmark test added

  • Fix: typo mistake

Co-authored-by: Rak Laptudirm rak@laptudirm.com

  • fix: review comments incorporated

  • fix: review suggestions

  • fix: linter issues

  • fix: updated comment as per code changes

  • test: added test for error, updated benchmark test

  • fix: test package name and error handling

Co-authored-by: Rak Laptudirm rak@laptudirm.com

docs: Documentation changes (#598)

Bolded "removing bugs" on line 28.

tests(cipher/rsa): add fuzz test to rsa cipher (#591)

  • Updated Documentation in README.md

  • feat(cipher/rsa): add fuzz test to rsa

Co-authored-by: github-action ${GITHUB_ACTOR}@users.noreply.github.com Co-authored-by: Taj tjgurwara99@users.noreply.github.com

algorithm: Aliquot Sum (#594)

  • feat: Add Aliquot Sum implementation

  • test: Add test for Aliquot Sum algorithm

  • fix: Add separate case for n=1

  • refactor: Refactor condition in for loop

Co-authored-by: Rak Laptudirm rak@laptudirm.com

update: delete middle func for linked list (#560)

  • Added code for delete in middle for linkedlist

  • update to previous commit of linked list

  • Changes as requested to linkedlist

  • removed delete in middle code

Co-authored-by: Rak Laptudirm rak@laptudirm.com

feat(cipher/polybius): add fuzz test to polybius cipher (#600)

Merge branch 'master' into algorithm-pronic-number

Created at 2 weeks ago