Skip to content

cemtuver/leetcode-kotlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode in Kotlin

Prerequisites

Kotlin command-line compiler is required to build the solutions. It can be installed from here manually or using Homebrew.

$ brew update
$ brew install kotlin

Build & Run

Compile the source code using Kotlin command-line compiler and then run the output jar using Java.

$ cd (folder)
$ kotlinc (solution).kt -include-runtime -d (solution).jar
$ java -jar (solution).jar