Do data structures and algorithms exist in Kotlin?
google 6
d
Dominaezzz
05/15/2020, 2:49 PM
You're going to have to elaborate.
List
is a data structure and
binarySearch
is an algorithm.
👍 7
s
Steve F
05/15/2020, 10:04 PM
Kotlin's standard library has data structures, such as collections. You have interoperability with Java' data structures. If you are looking to practice algorithms using Kotlin, I recommend this site: https://developerlife.com/2018/08/16/algorithms-in-kotlin-1/. I think it's a great series for not only using Kotlin for algorithms, but refreshing your knowledge and practicing them in general.