Best Ways to Practice Kotlin

Best Ways to Practice Kotlin

Anshu Shandilya's photo
Anshu Shandilya
·Jan 14, 2021·

4 min read

Subscribe to my newsletter and never miss my upcoming articles

I wasn't able to write since the last two weeks. Was busy in building ValueRead.

Before I start this blog, I would like to thank everyone who tried ValueRead. All of you will be to receive App access very soon.

In this blog, we are going to see "what are ways you can try to practice Kotlin?".

Most of the companies has been switched to Kotlin and those who haven't they will very soon.

Since the last a few months, I have been observing that, companies are demanding Kotlin knowledge from candidates. And in some cases, if you have just basic understanding, you will be prioritized.

If you are beginner, you must learn basic Java before entering into Kotlin world because the whole Kotlin environment have been designed on the basis of Java.

Btw, If you want to understand the depth of this, you can look into my "Why Java is required to learn Kotlin?".

Have you remembered, what was the first program you had written on the first day of programming class?

While starting Kotlin, we are going to do the same.

We are going to write the same program. But, there is a slight difference that now you have to write in Kotlin.

1/n way to practice kotlin is "Write Hello World application in kotlin".

2/n Solve basic programming questions in Kotlin like,

1.Print 1-100 using for, while loops,

2.Print Fibonacci series,

3.Write a program to perform mathematical operations using switch case,

4.How do you find the missing number in a given integer array of 1 to 100?

5.How do you find the duplicate number on a given integer array?

6.How do you find the largest and smallest number in an unsorted integer array?

7.How do you find all pairs of an integer array whose sum is equal to a given number?

8.How do you find duplicate numbers in an array if it contains multiple duplicates?

9.How are duplicates removed from a given array in Java?

10.How is an integer array sorted in place using the quicksort algorithm?

11.How do you remove duplicates from an array in place?

12.How do you reverse an array in place?

3/n Build basic projects like Calculator app, Currency convertor, Spinner, Dice App, etc. You can explore Ideaspool for more ideas.

4/n Contribute into GitHub Projects. If you feel that, you have learnt basics of Kotlin and would be able to work with real world applications then you must explore Github repos that have used Kotlin.

Here are some of the examples: Notzz-App, GitFit, NYTimes App, etc.

Hope you find this utilizable.

Thanks for reading. Let's connect Twitter/LinkedIn.

Resources:

1.github.com/search?q=Kotlin&type=reposit.. 2.simpleprogrammer.com/programming-interview-..

 
Share this