Kotlin Exercises
This commit is contained in:
parent
c0f0c379fa
commit
51aa078388
BIN
kotlin/pangram/.gradle/4.8/fileChanges/last-build.bin
Normal file
BIN
kotlin/pangram/.gradle/4.8/fileChanges/last-build.bin
Normal file
Binary file not shown.
BIN
kotlin/pangram/.gradle/4.8/fileContent/fileContent.lock
Normal file
BIN
kotlin/pangram/.gradle/4.8/fileContent/fileContent.lock
Normal file
Binary file not shown.
BIN
kotlin/pangram/.gradle/4.8/fileHashes/fileHashes.bin
Normal file
BIN
kotlin/pangram/.gradle/4.8/fileHashes/fileHashes.bin
Normal file
Binary file not shown.
BIN
kotlin/pangram/.gradle/4.8/fileHashes/fileHashes.lock
Normal file
BIN
kotlin/pangram/.gradle/4.8/fileHashes/fileHashes.lock
Normal file
Binary file not shown.
BIN
kotlin/pangram/.gradle/4.8/fileHashes/resourceHashesCache.bin
Normal file
BIN
kotlin/pangram/.gradle/4.8/fileHashes/resourceHashesCache.bin
Normal file
Binary file not shown.
BIN
kotlin/pangram/.gradle/4.8/taskHistory/taskHistory.bin
Normal file
BIN
kotlin/pangram/.gradle/4.8/taskHistory/taskHistory.bin
Normal file
Binary file not shown.
BIN
kotlin/pangram/.gradle/4.8/taskHistory/taskHistory.lock
Normal file
BIN
kotlin/pangram/.gradle/4.8/taskHistory/taskHistory.lock
Normal file
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
|||||||
|
#Thu Jun 21 09:45:07 CDT 2018
|
||||||
|
gradle.version=4.8
|
BIN
kotlin/pangram/.gradle/buildOutputCleanup/outputFiles.bin
Normal file
BIN
kotlin/pangram/.gradle/buildOutputCleanup/outputFiles.bin
Normal file
Binary file not shown.
0
kotlin/pangram/.gradle/vcsWorkingDirs/gc.properties
Normal file
0
kotlin/pangram/.gradle/vcsWorkingDirs/gc.properties
Normal file
18
kotlin/pangram/README.md
Normal file
18
kotlin/pangram/README.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Pangram
|
||||||
|
|
||||||
|
Determine if a sentence is a pangram. A pangram (Greek: παν γράμμα, pan gramma,
|
||||||
|
"every letter") is a sentence using every letter of the alphabet at least once.
|
||||||
|
The best known English pangram is:
|
||||||
|
> The quick brown fox jumps over the lazy dog.
|
||||||
|
|
||||||
|
The alphabet used consists of ASCII letters `a` to `z`, inclusive, and is case
|
||||||
|
insensitive. Input will not contain non-ASCII symbols.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Source
|
||||||
|
|
||||||
|
Wikipedia [https://en.wikipedia.org/wiki/Pangram](https://en.wikipedia.org/wiki/Pangram)
|
||||||
|
|
||||||
|
## Submitting Incomplete Solutions
|
||||||
|
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
|
28
kotlin/pangram/build.gradle
Normal file
28
kotlin/pangram/build.gradle
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
buildscript {
|
||||||
|
ext.kotlin_version = '1.2.40'
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
dependencies {
|
||||||
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
apply plugin: 'kotlin'
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||||
|
|
||||||
|
testCompile 'junit:junit:4.12'
|
||||||
|
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
|
||||||
|
}
|
||||||
|
test {
|
||||||
|
testLogging {
|
||||||
|
exceptionFormat = 'full'
|
||||||
|
events = ["passed", "failed", "skipped"]
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
BIN
kotlin/pangram/build/classes/kotlin/main/Pangram/PangramKt.class
Normal file
BIN
kotlin/pangram/build/classes/kotlin/main/Pangram/PangramKt.class
Normal file
Binary file not shown.
BIN
kotlin/pangram/build/classes/kotlin/test/PangramTest.class
Normal file
BIN
kotlin/pangram/build/classes/kotlin/test/PangramTest.class
Normal file
Binary file not shown.
BIN
kotlin/pangram/build/kotlin-build/artifact-difference.tab
Normal file
BIN
kotlin/pangram/build/kotlin-build/artifact-difference.tab
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
kotlin/pangram/build/kotlin-build/artifact-difference.tab.len
Normal file
BIN
kotlin/pangram/build/kotlin-build/artifact-difference.tab.len
Normal file
Binary file not shown.
Binary file not shown.
BIN
kotlin/pangram/build/kotlin-build/artifact-difference.tab_i
Normal file
BIN
kotlin/pangram/build/kotlin-build/artifact-difference.tab_i
Normal file
Binary file not shown.
BIN
kotlin/pangram/build/kotlin-build/artifact-difference.tab_i.len
Normal file
BIN
kotlin/pangram/build/kotlin-build/artifact-difference.tab_i.len
Normal file
Binary file not shown.
1
kotlin/pangram/build/kotlin-build/version.txt
Normal file
1
kotlin/pangram/build/kotlin-build/version.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
11001
|
BIN
kotlin/pangram/build/kotlin/compileKotlin/build-history.bin
Normal file
BIN
kotlin/pangram/build/kotlin/compileKotlin/build-history.bin
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
|||||||
|
1
|
||||||
|
0
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
2011001
|
@ -0,0 +1 @@
|
|||||||
|
8011001
|
@ -0,0 +1 @@
|
|||||||
|
4011001
|
BIN
kotlin/pangram/build/kotlin/compileKotlin/last-build.bin
Normal file
BIN
kotlin/pangram/build/kotlin/compileKotlin/last-build.bin
Normal file
Binary file not shown.
BIN
kotlin/pangram/build/kotlin/compileTestKotlin/build-history.bin
Normal file
BIN
kotlin/pangram/build/kotlin/compileTestKotlin/build-history.bin
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user