Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 554 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 554 Bytes

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