2787 Commits

Author SHA1 Message Date
07dbc51e1b feat: add temperature unit conversions (#5315)
Co-authored-by: Bama Charan Chhandogi <b.c.chhandogi@gmail.com>
2024-08-22 06:43:52 +00:00
5149051e95 refactor: LinkedQueue (#5352) 2024-08-21 20:39:09 +03:00
39ecf70857 refactor: GenericArrayListQueue (#5355) 2024-08-21 16:55:36 +03:00
4c65530722 refactor: StackArrayList (#5356) 2024-08-21 14:00:05 +03:00
a03353d3d3 refactor: Deque (#5353) 2024-08-21 13:39:01 +03:00
e756a7d2d5 refactor: CircularQueue (#5354) 2024-08-21 13:26:21 +03:00
f5c0314111 refactor: StackArray (#5349) 2024-08-20 13:10:18 +03:00
8605220721 Chore(deps): bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.1 to 3.4.0 (#5350)
Chore(deps): bump org.apache.maven.plugins:maven-surefire-plugin

Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.3.1...surefire-3.4.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 00:19:40 +02:00
8712a7f405 refactor: Queue (#5348) 2024-08-20 00:03:19 +03:00
04eae87512 refactor: DynamicArray (#5346) 2024-08-19 11:15:47 +03:00
33fd79ad55 refactor: OctalToHexadecimal (#5345) 2024-08-18 22:03:28 +03:00
a9f5b82708 refactor: OctalToDecimal (#5344) 2024-08-18 21:58:57 +03:00
2905ccbb20 refactor: DecimalToAnyBase (#5343) 2024-08-18 21:45:30 +03:00
404ad7272f refactor: Bag data structure (#5340) 2024-08-17 22:31:29 +03:00
e8985b3edb refactor: BinaryToOctal (#5338)
* refactor: BinaryToOctal

* checkstyle: fix formatting

* refactor: adding input correctness case, cover by tests. Renaming variable

---------

Co-authored-by: alxkm <alx@alx.com>
Co-authored-by: Bama Charan Chhandogi <b.c.chhandogi@gmail.com>
2024-08-17 19:06:45 +00:00
25b6aebe45 refactor: DecimalToHexadecimal (#5337) 2024-08-17 21:58:50 +03:00
d80fd0c623 refactor: DecimalToBinary (#5339) 2024-08-17 21:35:36 +03:00
7c58b190c8 chore: fix some comments (#5333) 2024-08-16 20:19:15 +03:00
98bee26d51 refactor: Dijkstra algorithm (#5329) 2024-08-16 17:55:42 +03:00
e32cab3189 refactor: BinaryToDecimal (#5330) 2024-08-16 17:48:47 +03:00
c20375ae0f refactor: BinaryToHexadecimal (#5331) 2024-08-16 17:43:54 +03:00
ec30592fcb refactor: DecimalToOctal (#5332) 2024-08-16 10:07:27 +03:00
a84a4a29ed refactor: cleanup InsertionSort (#5322) 2024-08-15 11:48:23 +03:00
046f5a4728 refactor: atoi (#5324) 2024-08-15 11:43:47 +03:00
134b42c7ff refactor: BloomFilter (#5325) 2024-08-15 11:30:53 +03:00
777de1da99 refactor: cleanup CycleSort (#5321) 2024-08-15 11:25:23 +03:00
c4e0adbdd5 Chore(deps-dev): bump org.junit.jupiter:junit-jupiter from 5.10.3 to 5.11.0 (#5328)
Chore(deps-dev): bump org.junit.jupiter:junit-jupiter

Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5) from 5.10.3 to 5.11.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.3...r5.11.0)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com>
2024-08-15 09:30:46 +03:00
b8d0978e01 Chore(deps): bump org.junit:junit-bom from 5.10.3 to 5.11.0 (#5327)
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.10.3 to 5.11.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.3...r5.11.0)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 09:23:37 +03:00
4fc646809c Chore(deps-dev): bump org.junit.jupiter:junit-jupiter-api from 5.10.3 to 5.11.0 (#5326)
Chore(deps-dev): bump org.junit.jupiter:junit-jupiter-api

Bumps [org.junit.jupiter:junit-jupiter-api](https://github.com/junit-team/junit5) from 5.10.3 to 5.11.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.3...r5.11.0)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-api
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 00:20:47 +02:00
8d0dd3ef32 refactor: cleanup DualPivotQuickSort (#5319) 2024-08-13 19:30:35 +03:00
41f76e0e89 refactor: simple improvements and cleanup for different sorts (#5320) 2024-08-13 19:26:48 +03:00
2837585705 refactor: IntrospectiveSort (#5316) 2024-08-11 21:00:47 +03:00
66bfaff807 refactor: cleanup CocktailShakerSort (#5317) 2024-08-11 20:55:11 +03:00
554b6cf006 refactor: simple improvements and cleanup for different sorts (#5318) 2024-08-11 20:44:22 +03:00
197718842f refactor: cleanup BucketSort (#5314) 2024-08-10 14:21:44 +03:00
7a5fe92b2a feat: FlashSort implementation (#5305) 2024-08-10 10:25:46 +03:00
324a35a939 Update GrahamScan.java (#5310)
* Update GrahamScan.java

improved the Javadoc comments, clarified some methods in the Point class, and corrected some text.

* Minor adjustment to GrahamScan.java

* revised GrahamScan.java

* Update-2 GrahamScan.java

* clang format GrahamScan.java

* reverted GrahamScan.java

* minor updates.java

* minor updates

* Spc.java

* clang format

---------

Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com>
2024-08-09 15:03:54 +03:00
5fc26239eb Chore(deps): bump DoozyX/clang-format-lint-action from 0.17 to 0.18 in /.github/workflows (#5313)
Chore(deps): bump DoozyX/clang-format-lint-action in /.github/workflows

Bumps [DoozyX/clang-format-lint-action](https://github.com/doozyx/clang-format-lint-action) from 0.17 to 0.18.
- [Release notes](https://github.com/doozyx/clang-format-lint-action/releases)
- [Commits](https://github.com/doozyx/clang-format-lint-action/compare/v0.17...v0.18)

---
updated-dependencies:
- dependency-name: DoozyX/clang-format-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-09 07:42:26 +02:00
cafea1ee52 Refactored Identifiers (#5306)
Co-authored-by: Bama Charan Chhandogi <b.c.chhandogi@gmail.com>
2024-08-08 19:39:00 +05:30
6e23e198ab feat: SpreadSort implementation (#5308) 2024-08-08 10:45:33 +03:00
357e15addd Update CODEOWNERS 2024-08-08 09:55:11 +03:00
365ede892f Chore(deps): bump org.apache.commons:commons-lang3 from 3.15.0 to 3.16.0 (#5312)
Bumps org.apache.commons:commons-lang3 from 3.15.0 to 3.16.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-lang3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-08 07:38:58 +02:00
6f521145cc Update Average.java (#5309)
* Update Average.java

- Made the constructor throw an UnsupportedOperationException to prevent instantiation, making it explicit that this is a utility class.
- Added a private validateInput method to handle validation, reducing code duplication and improving readability.
- Consistent exception messages and handling for both methods.
- Improved comments to be more descriptive and follow JavaDoc conventions.
- Enhanced code readability and maintained consistent formatting.

* Minor Update Average.java

* Change To Average.java

* Mnr Average.java

* Update_Average.java

* Fix Average.java

1. throw new IllegalArgumentException("Numbers array cannot be empty or null");

2. int --> double

* fix2.java

return(double)..
2024-08-04 23:45:54 +05:30
fccd141014 refactor: cleanup CombSort (#5303)
refactor: cleanup CombSort

Co-authored-by: Alex Klymenko <alx@alx.com>
2024-08-02 09:06:45 +02:00
5113101e5d refactor: cleanup ShellSort (#5302) 2024-07-26 09:55:11 +03:00
ebed8b38b8 refactor: cleanup PigeonholeSort (#5298)
* refactor: PigeonholeSort

* checkstyle: fix formatting

* checkstyle: make class final

* refactor: changing negative numbers check first, fix typo, adding one more test for negative numbers

---------

Co-authored-by: Alex Klymenko <alx@alx.com>
Co-authored-by: vil02 <65706193+vil02@users.noreply.github.com>
2024-07-25 21:55:27 +02:00
76a450fb75 feat: add PatienceSort (#5288)
* feat: PatienceSort

* refactor: fix readability issues,a and redundant check

---------

Co-authored-by: alxklm <alx@alx.com>
2024-07-24 17:32:47 +02:00
08db744240 refactor: cleanup PancakeSort (#5295)
* refactor: PancakeSort cleanup, changing test to standard

* checkstyle: fix formatting

---------

Co-authored-by: alxklm <alx@alx.com>
2024-07-22 09:20:59 +02:00
97d416e64e refactor: cleanup StoogeSort (#5283)
* refactor: cleanup StoogeSort

* refactor: update DIRECTORY.md for StoogeSortTest

---------

Co-authored-by: Alex Klymenko <alx@alx.com>
2024-07-20 19:28:06 +00:00
94032148ca refactor: cleanup RadixSort (#5280)
* refactor: refactoring RadixSort, adding test, update DIRECTORY.md

* checkstyle: fix formatting for test

* refactor: adding possibility to sort negative numbers. Improve tests. Improving code readability

* checkstyle: fix formatting

* refactor: resolve conflicts with master branch

* refactor: remove negative integers support

* checkstyle: fix formatting

* checkstyle: fix formatting, revert test

* refactor: adding return array to countDigits and buildOutput method, adding more specific description to javadocs

---------

Co-authored-by: Alex Klymenko <alx@alx.com>
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-07-19 18:24:55 +02:00