Skip to content

chriniko13/just-a-scala-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just a Scala Assignment

Assignee: Nikolaos Christidis (nick.christidis@yahoo.com)

Technical Approach

For input file which is less or equal to 10 lines it uses simple recursive solution. For bigger input file it uses bottom-up dynamic programming approach.

Build project
  • Execute: sbt compile
Run project (main class)
  • Execute: sbt run
Package as jar
  • Execute: sbt package
  • (Optional) you can run it then: java -jar target/scala-2.12/chriniko-scala-assignment_2.12-0.1.jar
Run Tests
  • Execute: sbt test
Test Coverage Reports (with the help of: sbt-scoverage)
  • Execute: sbt clean coverage test
  • Execute: sbt coverageReport
  • Then go to: target/scala-2.12/scoverage-report/index.html and open file url to a browser.
Test Utilities
  • You can use the TrianglePathFileCreator.scala in order to generate a triangle path file (random or not)

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy