Skip to content

method name is wrong #1170

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

Closed
guangyingmodao opened this issue Nov 19, 2019 · 1 comment
Closed

method name is wrong #1170

guangyingmodao opened this issue Nov 19, 2019 · 1 comment

Comments

@guangyingmodao
Copy link

java/maths/findMin.java
find min but the method name is findMax

@yanglbme
Copy link
Member

@guangyingmodao thanks for your feedback.

BurhanH added a commit to BurhanH/Java that referenced this issue May 18, 2020
* Made Matrix equality comparison deep.

Solution to the issue TheAlgorithms#719

* Comparing Matrix size before content size.

* Update DoublyLinkedList.java

* fix: fix link in README

* Efficiency

Just two small things that in case the number was very big could be helpful.

* update readme.md: Fixed & added links

* Update LevenshteinDistance.java

* Now it's OK!

* Update README.md

* docs: update the whole repository

* fix some bugs
* delete duplicate files
* format code

* docs: update .gitignore

* Delete .gitignore___jb_tmp___

* docs: delete duplicate files

* docs: update AnyBaseToAnyBase and GenericTree

* docs: rename files

* Update README.md

* Update HexaDecimalToDecimal.java

* fix bugs in AES.java(TheAlgorithms#765)

* fix bugs in ReverseString(TheAlgorithms#765)

* fix bugs in MinimizingLateness(TheAlgorithms#765)

* Update GenericArrayListQueue.java

Documentations added

* Fix for Issue TheAlgorithms#771. position=size causes NPE

* Fix for Issue TheAlgorithms#773. Deleting an element that doesn't exist causes NPE

* Revert "Fix for Issue TheAlgorithms#773. Deleting an element that doesn't exist causes NPE"

This reverts commit 7eb0785.

* Fix for Issue TheAlgorithms#773. Deleting an element that doesn't exist causes NPE

* Integer To Roman

* Rename GenericTree.Java to GenericTree.java

* Update IntegerToRoman.java

* Create FUNDING.yml

* Using randomize partition to avoid the basically ordered sequences

* Update QuickSort.java

* Update BinaryToDecimal.java

Updated some of the variable names for the ease of understanding the process.

* Update BinaryToDecimal.java

Changed bin_num and bin_copy to binNum and binCopy respectively.

* Fix binary to octal conversion

* Updated Dynamic Programming Links in Readme.md

Links in the dynamic programming column were not pointing to the right files so I fixed it in the Readme file.

* Updated Miscellaneous Links in README.md

* Added Maths Folder & Absolute Value Program

* Update AbsoluteValue.java

* Added gitpod.io badge to the README

* Updates README.md

* Update README.md

* Update README.md

* Updates README.md

* docs: remove FUNDING.yml and use default file

See https://github.com/TheAlgorithms/.github

* ignore non-alphanumeric

* secondaryWordCount method added

* Fix StackArray.java resize()

* reduce code

* code readable

* fix memory leak

* fix EmptyStackException

* optimization

* Update Knapsack.java

Added check if the arrays are null

* make code more readable

* make code less

* optimization

* add more

* Find max and min value by recursion

* Update Queues.java

* init with DEFAULT_CAPACITY

* Correct the prime check algorithm

There are no prime numbers smaller than 2 and numbers greater than and divisible by 2 are not prime.

* The code was very verbose.

Now it is simplified without sacrificing accuracy.

* optimization

* Improved grammar and whitespace for prompts

* update

* mergeSortedArrayList

* Updated Readme

* AbsoluteMax and AbsoluteMin

* Update README.md

* update gcd

* toString

* optimization and fix bug

* Update Queues.java

* Correction of iteration limit of fibOptimized

* PalindromeNumber

* perfect number

* Result print

* Size

* update BalancedBrackets

* clear list

* update SinglyLinkedList

* update StackOfLinkedList

* DecimalToAnyUsingStack

* parseInteger

* LinkedQueue

* add pow

* Update FindMin.java

Re-word the comments

* Update CountWords.java

Cleaning the code

* using recursion

* update LinkedQueue

* fix: update Fibonacci and close TheAlgorithms#1008

* close TheAlgorithms#1008

* upate SinglyLinkedList

* added license to the repository.

* update AnyBaseToDecimal

* make code readable

* statistics optimization

* qwe

* add jump search algorithm

* FibonacciNumber

* Create CONTRIBUTING.md

to avoid 404 for community guidelines.

* fix: update FindMin and fix TheAlgorithms#1170

* Update BubbleSort.java

Output from print(integers) returns [78, 231, 54, 23, 12, 9, 6, 4, 1]
Correct output should be: [231, 78, 54, 23, 12, 9, 6, 4, 1]

* Update README.md

* Comment revisions

* fix: removed warning for Sorts 'C-style array declaration of parameter 'array''

* optimization

* Create update_directory_md.yml

* updating DIRECTORY.md

* optimization

* Fix bug

* Added Best/First/Worst Fit algorithm implementation

* Change Done

* Update update_directory_md.yml

* updating DIRECTORY.md

* Fixing packages.

* Closing scanners.

* Simple Substitution Cipher Algorithm added.

* Update SimpleSubstitutionCipher.java

* updating DIRECTORY.md

* Delete Dijkshtra.java

Duplicate and wrongly named.

* updating DIRECTORY.md

* bytesToHex function is changed beecause of required library is depracated on OpenJdk 11

* Using Try/catch and recursion

Adding try/catch and recursion to optimize the code

* Update DecimalToBinary.java

Close ressource leak Scanner input

* Update Cycles.java

closing Scanner in

* Update PrimMST.java

removing unused import java.lang.*

* Update Cycles.java

removing unused member variable finalCycles

* Update Main.java

fixing bug
Program is causing a NoSuchElementException

* Update RedBlackBST.java

closing Scanner scan

* Update RomanToInteger.java

declaring serialVersionUID

* added type parameter

* remove deprecated use of Character

* remove unused variable

* remove unused method

* remove unused variable

* remove unnecessary SuppressWarning

* close Reader

* close Reader

* dynamic array data structure

* Update LICENSE

* change  Sorts/ShellSort.java

* Update ShellSort.java

* added removeDuplicates function

* updating DIRECTORY.md

* Add a new sort algorithm, Sort/BitonicSort

* updating DIRECTORY.md

* Create PrimeFactorization.java

* Finish both AmicableNumbers and VampireNumbers

* Finish both AmicableNumbers and VampireNumbers

* implement search with search helper

* updating DIRECTORY.md

* added scanner in factorail program

* added comment in front of main method

* Added indentation in the "main" function statement block

* updating DIRECTORY.md

* Update AVLTree.java

* Update VampireNumber.java

* Fixed Error:(6, 8) java: class algorithm is public, should be declared in a file named algorithm.java. Inside file PrimeFactorization, the name of public class was wrong.

Co-authored-by: Egoscio <[email protected]>
Co-authored-by: Libin Yang <[email protected]>
Co-authored-by: Bartosz Dąbek <[email protected]>
Co-authored-by: Marcos <[email protected]>
Co-authored-by: Ashmi Chheda <[email protected]>
Co-authored-by: bogdandv <[email protected]>
Co-authored-by: Anup Kumar Panwar <[email protected]>
Co-authored-by: yanglbme <[email protected]>
Co-authored-by: ibahadiraltun <[email protected]>
Co-authored-by: Daher Daher <[email protected]>
Co-authored-by: Abhijay Kumar <[email protected]>
Co-authored-by: Abhijay Kumar <[email protected]>
Co-authored-by: xemjas <[email protected]>
Co-authored-by: CN-GuoZiyang <[email protected]>
Co-authored-by: Priyansh-Kedia <[email protected]>
Co-authored-by: obelisk0114 <[email protected]>
Co-authored-by: Nikit Singh <[email protected]>
Co-authored-by: obelisk0114 <[email protected]>
Co-authored-by: PatOnTheBack <[email protected]>
Co-authored-by: nisarhassan12 <[email protected]>
Co-authored-by: Nisar Hassan Naqvi <[email protected]>
Co-authored-by: Furaha Damién <[email protected]>
Co-authored-by: yeongmo-j <[email protected]>
Co-authored-by: shellhub <[email protected]>
Co-authored-by: qwerty50000a <[email protected]>
Co-authored-by: Lucas <[email protected]>
Co-authored-by: Ayush Varshney <[email protected]>
Co-authored-by: Jas <[email protected]>
Co-authored-by: Matheus Muriel <[email protected]>
Co-authored-by: salonilakhotia <[email protected]>
Co-authored-by: UntouchedOdin0 <[email protected]>
Co-authored-by: walter-ind <[email protected]>
Co-authored-by: Nikita Naumov <[email protected]>
Co-authored-by: Hemant Kumar <[email protected]>
Co-authored-by: Chase Ganey <[email protected]>
Co-authored-by: BryanChan777 <[email protected]>
Co-authored-by: Arogon1 <[email protected]>
Co-authored-by: valery noname <[email protected]>
Co-authored-by: Christian Clauss <[email protected]>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Caesar <[email protected]>
Co-authored-by: Dekas Dimitrios <[email protected]>
Co-authored-by: Hassan <[email protected]>
Co-authored-by: nikhil kala <[email protected]>
Co-authored-by: Hakan Arslan <[email protected]>
Co-authored-by: Wendell Lucas <[email protected]>
Co-authored-by: Alexandra Englert <[email protected]>
Co-authored-by: Wesllhey Holanda <[email protected]>
Co-authored-by: markaster <[email protected]>
Co-authored-by: LittleFoot <[email protected]>
Co-authored-by: littleFoot1 <[email protected]>
Co-authored-by: Moetez Skouri <[email protected]>
Co-authored-by: Alaa El Bouhdidi <[email protected]>
Co-authored-by: VTolas <[email protected]>
Co-authored-by: ben <[email protected]>
Co-authored-by: Vikrant Khedkar <[email protected]>
Co-authored-by: Maria Lungeanu <[email protected]>
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

No branches or pull requests

2 participants