Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shreckye/coursera-stanford-algorithms-solutions-kotlin
Solutions for Programming Assignments in Courses 1-4 of the Coursera Algorithms Specialization offered by Stanford written in Kotlin scripts
https://github.com/shreckye/coursera-stanford-algorithms-solutions-kotlin
algorithms coursera-algorithms coursera-algorithms-solutions coursera-algorithms-specialization kotlin kotlin-scripts stanford
Last synced: 5 days ago
JSON representation
Solutions for Programming Assignments in Courses 1-4 of the Coursera Algorithms Specialization offered by Stanford written in Kotlin scripts
- Host: GitHub
- URL: https://github.com/shreckye/coursera-stanford-algorithms-solutions-kotlin
- Owner: ShreckYe
- License: mit
- Created: 2019-09-02T14:13:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-19T08:01:25.000Z (almost 5 years ago)
- Last Synced: 2024-10-30T04:29:04.527Z (about 2 months ago)
- Topics: algorithms, coursera-algorithms, coursera-algorithms-solutions, coursera-algorithms-specialization, kotlin, kotlin-scripts, stanford
- Language: Kotlin
- Homepage:
- Size: 47.9 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Coursera Stanford Algorithms Specialization Programming Assignment solutions in Kotlin
Solutions for Programming Assignments in Courses 1-4 of the [Coursera Algorithms Specialization](https://www.coursera.org/specializations/algorithms) offered by Stanford written in Kotlin scripts## Coded up in the Kotlin style
Kotlin features such as [extensions](https://kotlinlang.org/docs/reference/extensions.html), [inline classes](https://kotlinlang.org/docs/reference/inline-classes.html), [operator overloading](https://kotlinlang.org/docs/reference/operator-overloading.html), [infix functions](https://kotlinlang.org/docs/reference/functions.html#infix-notation), [tail recursive functions](https://kotlinlang.org/docs/reference/functions.html#tail-recursive-functions), [scope functions](https://kotlinlang.org/docs/reference/scope-functions.html), and [collection operations](https://kotlinlang.org/docs/reference/collection-operations.html) based on extensions and functional programming are widely used in the code to enhance simplicity, efficiency, and readability, and to produce a proper blend of imperative programming, object oriented programming, and functional programming.## Notices
1. Enable assertion for all scripts by adding the "-ea" VM option to detect potential bugs.
1. Increase the stack size with "-Xss" VM option for some scripts that cause `StackOverflowError`. Increase the heap size with "-Xmx" VM option for some scripts that cause `OutOfMemoryError`.
1. If you encounter compiling issues in IntelliJ IDEA, bring down the project bytecode version, the target JVM version, the Project language level, and the target platform in Preferences and Project Structure to 6 and 1.6.