35 Commits

Author SHA1 Message Date
fanatixan
03065a43e9 moving heap sort from core-java to algorithms (#5475) 2018-10-17 12:54:35 -07:00
Akash Pandey
fe8488a8d5 Bael 2189: Convert Byte Array To/From hex String (#5396)
* BAEL-2159: Mini Article on "Separate double into integer and decimal parts"

* BAEL-2189: Tutorial to convert Byte Array to/from hex String.

* BEAL-2189: Code review comments incorporated.

* 1. Added validations for Non-Hex String characters in hex String.
2. Moved classes to algorithms module.
3. Renamed unit test class name ends with *UnitTest.

* 1. Added validations for Non-Hex String characters in hex String.
2. Moved classes to algorithms module.
3. Renamed unit test class name ends with *UnitTest.

* removed: redundant property added for local testing.
2018-10-12 21:50:33 +02:00
Loredana Crusoveanu
ed2a28585c fix unit test 2018-10-09 13:10:13 +03:00
dionisPrifti
ea22559064 BAEL-2209 : Quicksort Dionis Prifti (#5365)
* Merged changes from the original repository.

* Added event streaming example with WebFlux.

* Deleted auto-generated code.

* Deleted auto-generated code.

* BAEL-2209 : Added java class and JUnit test for QuickSort implementation.

* Revert "Added event streaming example with WebFlux."

This reverts commit 21527b34643bbb0d1437a0ab3ef392024a391107.

* BAEL-2209: Removed main method from Quicksort class.

* BAEL-2209 : Added the implementation and unit test for 3-Way Quicksort.
2018-10-01 19:41:18 -07:00
Vaibhav Sahay
ea4b5c8636
removed negative test 2018-09-29 16:19:45 +05:30
Vaibhav Sahay
575dcc3840
Updated the imports 2018-09-29 16:15:54 +05:30
Vaibhav Sahay
6a3eec15e5
Unit test for MergeSort 2018-09-29 16:06:30 +05:30
Shubhra Srivastava
12124f30cb BAEL-2153 : Check If Rectangles Overlap In Java (#5200)
* BAEL-2153 : Check If Rectangles Overlap In Java

* BAEL-2153 : Moving to Algorithms repo
2018-09-08 21:19:36 -07:00
myluckagain
86aaeed8e1 BAEL-2155 (#5149) 2018-09-03 20:34:21 +02:00
Predrag Maric
a32904fc19
BAEL-2151 code moved to algorithms module (#5141) 2018-09-02 12:06:04 +02:00
Loredana Crusoveanu
aa8afa5b6e fix package, fix get random node 2018-08-25 20:36:12 +03:00
kartiksingla
1846a1e441 Fixed Unit test case file name for [BAEL-2141] 2018-08-23 22:04:38 +05:30
kartiksingla
002760a3be Fixed Unit test case file name for [BAEL-2141] 2018-08-23 21:58:37 +05:30
kartiksingla
b8ae8ace4a [BAEL-2141] - How to check if a string contains all the letters of the alphabet? 2018-08-23 21:44:01 +05:30
Jonathan Cook
b44883b364 BAEL-1889 - Let's move the Java Number articles into a new module (#4619)
* BAEL-1849 - Convert from String to Date in Java

* BAEL-1863 - Calling Callbacks with Mockito

* BAEL-1889 - Let's move the Java Number articles into a new module

* BAEL-1889 - Let's move the Java Number articles into a new module
2018-07-14 15:00:37 +02:00
Eric Martin
b1d194cdb5 BAEL-1815: RomanNumeral and RomanArabicConverter (#4565)
* BAEL-1815: RomanNumeral and RomanArabicConverter

* Refactored getReverseSortedValues
2018-06-29 05:59:08 +02:00
Orry
7afbfb6968 BAEL-1755: Big O Notation Explained (#4440)
* BAEL-1701: Create SQSApplication, add most functionality (still need to format, and add queue monitoring)

* BAEL-1701: Complete examples

* BAEL-1755: Big O Explained

* BAEL-1755: Move code to test folder

* BAEL-1755: Remove main() method from test class

* BAEL-1755: BBD stylify the unit tests and separate them into their own methods
2018-06-13 12:44:30 -07:00
Amit Pandey
7206e64bef Bael 6556 3 (#4382)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases
2018-06-01 13:12:51 +02:00
Amit Pandey
ce645b67d2 Bael 6556 - PR - 1st ~ 20 TC (#4359)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6556] - Enable our custom PMD rule and fix the build - Fixed Unit test case names
2018-05-28 22:21:49 +02:00
Jorge
5b5386636b [BAEL-1641] Find all pairs of numbers in an array that add up to a given sum (#3890)
* [BAEL-1641] Find all pairs of numbers in an array that add up to a given sum

* Commiting editor's suggested changes

* Commiting article Spring Data Reactive Mongo DB microservice in Kotlin

* Revert commit for BAEL 1687 - Moving those files to a new branch

* Use AssertJ and BDD-style on unit testing
2018-04-21 08:45:15 -05:00
Predrag Maric
89f1c2721e
BAEL-1498 Money into words (#3797)
* Add tradukisto library

* Implement MoneyIntoWords

* Update the version of tradukisto library

* Refactor MoneyIntoWords

* Refactor

* Refactor pom.xml

* Refactor pom.xml

* Refactor NumberWordConverter

* BAEL-1498 Small refactoring

* Test edge cases

* BAEL-1498 Additional tests
2018-03-10 20:20:04 +01:00
Donato Rimenti
67599b1cbc - Extracted fitness function to separate class instead of Lambda
- Cleaned up javadoc
- Refactored fitness function code to add more significative variables names
2018-02-24 14:06:57 +01:00
Donato Rimenti
b0d83a88be BAEL-1352 Multiswarm optimization algorithm. 2018-02-22 21:04:34 +01:00
Mansi
21c41cfd99 BAEL-1297 Find kth largest element in a sequence of numbers (#3332)
* Example Code For Evaluation Article

This is an example code for the evaluation article on "Different Types of Bean Injection in Spring"

* Added unit tests

* Minor changes to application context

* Removed code committed for evaluation article

* BAEL-944 Demonstrating the problems with new Url pattern matching in Spring 5

* BAEL-944 Demonstrating the problems with new Url pattern matching in Spring 5

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Code Formatting and solving build issue

* BAEL-944 Resolving build issue due to change in Spring version

* BAEL-944 Resolving build issue

* BAEL-944 Formatting code

* BAEL-944 Moving tests to correct package

* BAEL-944 Moving tests to correct package

* BAEL-944 Replacing @RequestMapping by @GetMapping

* BAEL-944 Remove unnecessary attribute name, "value" in annotations

* BAEL-79 Intro to Activiti with Spring

* BAEL-79 Intro to Activiti with Spring

* BAEL-79 Adding activiti module to the parent modules

* BAEL-79 Using latest version

* BAEL-79 Update Spring boot version that works with Activiti

* BAEL-79 Replace RequestMapping with GetMapping

* BAEL-79 Use Java 8 Syntax

* BAEL-79 Formatting

* BAEL-79 changed module name

* BAEL-378 A Guide to Activiti with Java

* BAEL-79 Fixed unit tests

* BAEL-79 Simplified the process

* BAEL-79 Fix test cases

* BAEL-1045 Lambda Behave

* BAEL-1045 Lambda Behave

* BAEL-1045 Lambda Behave

* BAEL-1090 Difference between compact and compressed strings in Java 9

* BAEL-1237 String Formatter

* BAEL-1237 String Formatter

* BAEL-1237 String Formatter

* BAEL-1237 String Formatter

* BAEL-1237 Guide to java.util.Formatter

* BAEL-1297 Find kth largest element in a sequence of numbers

* BAEL-1297 fixed issues and modified file name

* BAEL-1297 Modified randomized quickselect

* BAEL-1297 added additional sorting method

* BAEL-1297 UnitTest fix

* BAEL-1297 Additional method

Added QuickSelect With Iterative Partition method

* BAEL-1297 Added AssertJ annotations

* BAEL-1297 added missing assertj dependancy
2018-01-05 20:38:02 -06:00
Muhammed Almas
a38e6e295e BAEL-1296 Prime numbers till n. (#2956)
* BAEL-1296 Prime numbers till n.

* BAEL-1296 Renamed packge
2017-11-09 20:54:36 +01:00
Grzegorz Piwowarek
1da6e1df42 EditDistance refactor (#2853) 2017-10-25 20:18:33 +02:00
deep20jain
5d39af398f BAEL 1143 - Edit Distance - deep20jain@gmail.com (#2718)
* Calculate edit distance

* Fixing formatting

* Making variable local to method
2017-10-24 05:36:28 +02:00
Parth Karia
eece3d02ba BAEL-1211 Bubble Sort in Java (#2744)
* BAEL-815 Introduction to JGraphT

* BAEL-815 Move code from libraries to algorithms

* BAEL-1211 Bubble Sort in Java

* BAEL-1211 Bubble Sort in Java

* BAEL-1211 Bubble Sort in Java

* BAEL-1211 Bubble Sort in Java

* BAEL-1211 Fix conflict
2017-10-15 09:57:01 -07:00
Parth Karia
d343c59a3c BAEL-815 Move JGraphT code from libraries to algorithms (#2695)
* BAEL-815 Introduction to JGraphT

* BAEL-815 Move code from libraries to algorithms
2017-09-30 23:46:48 -07:00
deep20jain
cccd6a3eab BAEL 1123 - deep20jain@gmail.com (#2572)
* Adding node and cycle detection by hashing

* Adding implementation for all algorithms for cycle detection and removal

* Applying formatting rules

* Refactoring methods and adding more tests

* Fixing infinite loop corner case
2017-09-08 19:23:55 +02:00
deep20jain
d8398caaa2 BAEL-1123 - Testing Linked List for Cycles - deep20jain@gmail.com (#2525)
* Adding node and cycle detection by hashing

* Adding implementation for all algorithms for cycle detection and removal

* Applying formatting rules
2017-09-03 22:20:25 +02:00
Doha2012
48cd6f876f Fix test names (#1853)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix

* fix dependency issues

* Revert "fix dependency issues"

This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec.

* fix dependency issues

* minor fix

* minor fix

* minor fix

* cleanup generated files

* fix commons-logging issue

* add parent to pom

* cleanup parent dependencies

* cleanup pom

* cleanup pom

* add missing parent

* fix logging issue

* fix test names
2017-05-15 11:35:14 -05:00
Grzegorz Piwowarek
6e86dc27ff Optimize build and reduce logging (#1772)
* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Optimize build

* Remove testng from core-java
2017-05-03 09:29:10 +02:00
Mohamed Sanaulla
d87e0663fc incorporate review comments for BAEL-747 (#1603) 2017-04-07 16:31:39 +02:00
Mohamed Sanaulla
0b17547d20 code for BAEL-747 after incorporating review comments (#1560) 2017-04-01 21:51:12 +02:00