* bug fix for CircularBuffer + refactoring + add unit tests
* change Insertion sort to classical implementation + add isSorted function to SortUtils + add SortUtilsRandomGenerator for generating random values and arrays
* little fix
Co-authored-by: Debasish Biswas <debasishbsws.abc@gmail.com>
* Create MyAtoi.java
There is a method in C++, which converts String to an Integer, called Atoi function, this is my own implementation of this function.
* Update directory
* Update MyAtoi.java
* Create MyAtoiTest.java
* Update directory
* Update directory
* Update directory
* Update MyAtoi.java
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Debasish Biswas <debasishbsws.abc@gmail.com>
* Added function in PerfectNumber.java
Added isPerfectNumber2() in PerfectNumber.java
* Created PerfectNumberTest.java
* fixed isPerfectNumber()
fixed bug in isPerfectNumber() for negative numbers
* fixed typo
Co-authored-by: Debasish Biswas <debasishbsws.abc@gmail.com>
* Added functions and removed main
* deleted perimeterTest.java
deleted perimeterTest.java to create PerimeterTest.java
* Recreated PerimeterTest.java
Renamed perimeterTest.java to PerimeterTest.java and added test cases
* deleted PerimeterTest.java
* Recreated PerimeterTest.java
Recreated PerimeterTest.java from perimeterTest.java
* Added another function to PerfectCube.java
Added another function to PerfectCube.java and fixed a testing mistake in line number 9
* Created PerfectCubeTest.java
Created PerfectCubeTest.java
* fixed PerfectCubeTest.java
* Fixed bug in PerfectCube.java
Fixed bug in PerfectCube.java in isPerfectCube() function for negative numbers. Now It gives the correct output for perfect negative numbers.
* removed main() in PerfectCube.java
* Fixed functions and removed main() in Volume.java
Fixed calculation errors in volumeSphere() and volumeHemisphere() functions and removed main() and changed functions access specifier from private to public
* Created VolumeTest.java
Created VolumeTest.java JUnit Tests for Volume.java
Co-authored-by: Debasish Biswas <debasishbsws.abc@gmail.com>
* fixed error and changed functions names
fixed error at line 57 and gave semantic names to functions with comments
* renamed functions
renamed functions to match with original functions' names in the file
* Updated TestCases
Updated TestCases and changed a function name
* Removed main() and changed function name
Removed main() and changed the function name from isPalindromeStringBuilder to isPalindrome
* fixed typo
Co-authored-by: Debasish Biswas <debasishbsws.abc@gmail.com>
* Added function in Pangram.java
Added isPangramIndexOf() function in Pangram.java
* Added Tests for new function
Added Tests for isPangramIndexOf() function
* fixed typo
* changed function name
* changed function name
Co-authored-by: Debasish Biswas <debasishbsws.abc@gmail.com>