Do data structures and algorithms exist in Kotlin?
# android
v
Do data structures and algorithms exist in Kotlin?
google 6
d
You're going to have to elaborate.
List
is a data structure and
binarySearch
is an algorithm.
👍 7
s
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.
👍 1
v
I really appreciate