Skip to content

Giter8 sbt template for solving Codility test tasks in Scala

Notifications You must be signed in to change notification settings

laughedelic/codility.g8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codility task sbt project template

This is a Giter8 template for solving Codility test tasks in Scala.

Check out Codility lessons or challenges for example tasks.

Usage

From the official FAQ:

Can I use my own IDE?

Yes, you can write your solution in an editor of your choice and paste the solution back into the Codility interface. Use the ‘Run’ button to make sure that the code has been copied properly and that Codility is able to compile and execute it. Your compiler is not necessarily the same as ours, so remember to write portable, standards-compliant code. The supported language version is displayed in the Codility interface.

This template contains an sbt project for one Codility test task.

  1. Apply the template: It will ask you for the name of the project, input and output types. You can change it later in the code.
  2. Write your solution in src/main/scala/Solution.scala
  3. Add test cases in src/test/scala/Solution.scala and run sbt test
  4. Once it's ready, copy-paste the content of src/main/scala/Solution.scala to the Codility editor and run tests there. Don't forget to choose Scala language in the editor interface.

About

Giter8 sbt template for solving Codility test tasks in Scala

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages