Skip to content

lincex7845/pallindrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Palindrome

A Restful API to resolve the pallindrome challenge

Frameworks and Technologies

  • Java v 1.8
  • Dropwizard
  • Hibernate validator
  • Maven v 3.3

How to use

  • Go to palindrome.api folder (cd palindrome.api/ )
  • Compile the application typing: mvn clean install
  • After that, you can run the application. Type: java -jar target/palindrome.api-1.jar server palindrome-configuration.yml
  • Use a REST client application such as Postman. Then, do the following GET operations:
  • They both return a JSON with the following structure:
{
  "palindromeStrings": {
    "decimal_number": "binary_number",
    ..
  },
  "iterations": iterations_needed_to_get_palindromes_in_the_range,
  "bigOComplexity": "An explanation about the complexity to calculate palindromes in the range"
}

About

A Restful API to resolve the pallindrome challenge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages