Confused over reverse, reversed, and asReveresed ? in Kotlin
Originally post on https://chetangupta.net/bbk8/
Hi, I’m back with another question, and it’s very common and easy. You might have done this zillions of times.
Question: Write a program to reverse an array or string :
Example :
Input1 : arr[] = {4, ...
ch8n.hashnode.dev4 min read