Skip to content

ralphwbms/ADS-Questions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ADS Questions

My solutions for Hackerhank, Algoexpert and Leetcode ADS questions.

Running Kotling scripts

Install kotlin and then run:

kotlin -J-ea -script <path-to-file.kts>

On Visual Studio Code

  1. Install the Code Runner plugin
  2. Open your user settings.json
  3. Locate the code-runner.executorMapByFileExtension section
  4. Locate the .kts configuration and add -J-ea right after kotlinc

Example:

"code-runner.executorMapByFileExtension": {
  ...
  ".kts": "kotlinc -J-ea -script",
  ...

In recent versions of Kotlin, it can be even simpler:

"code-runner.executorMapByFileExtension": {
  ...
  ".kts": "kotlin -J-ea",
  ...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •