Files
kotlin_practice_tests/kotlin-tunes-skeleton/src/main/kotlin/tunes/SongCollection.kt
2026-03-13 12:11:24 +00:00

24 lines
530 B
Kotlin

package tunes
class SongCollection {
/*
private class Song(val name: String, val tune: Tune)
private class TreeNode(var song: Song, var left: TreeNode? = null, var right: TreeNode? = null)
private var root: TreeNode? = null
fun addSong(name: String, tune: Tune) {
TODO("Implement as part of Question 6")
}
fun getTune(name: String): Tune {
TODO("Implement as part of Question 6")
}
fun getSongNames(): List<String> {
TODO("Implement as part of Question 6")
}
*/
}