Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 505 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 505 Bytes

LongestCommonSubstring

Finds longest common substrings from given list

Build Project

mvn clean package

Run Project

java -jar target\lcs-0.0.1-SNAPSHOT.jar

Curl Request

curl --location --request POST 'http://localhost:8080/lcs' \
   --header 'Content-Type: application/json' \
   --data-raw '{
       "setOfStrings": [
               {
                 "value": "comcast"
               },
               {
                 "value": "cast"
               }
           ]
   }