higher order functions in Kotlin featured image

Higher Order Functions in Kotlin with examples

There are many advanced features in Kotlin which gives an edge for the user using this language over Java. One such feature is Higher Order Functions in Kotlin. In this Article, let us see what are the advantages of using Higher Order functions in Kotlin along with examples where and how we can use them. Here is our YouTube video …

rxjava transform operators

RxJava Transform Operators – Operators for Transforming Observables – RxJava Tutorial #5

RxJava Transform Operators, as the name indicates, are used for transforming the items which are emitted by reactive sources such as Observables. In this article we will discuss about various RxJava Transform operators in depth with examples. Here we will discuss various operators like Buffer, Map, FlatMap, SwitchMap, ConcatMap, etc. This article is part of RxJava Intro series. You can …

RxJava create Operators – Operators for Creating Observables – RxJava Tutorial #4

In this article we will discuss about various RxJava create operators in depth with examples. Here we will discuss how to create Observables using various operators like Create, From, Just, Differ, etc. This article is part of RxJava Intro series. You can checkout the entire series here: RxAndroid Introduction RxAndroid Example – RxJava Tutorial #2 RxJava Operators In General – …

rxjava operators

RxJava Operators In General – RxJava Tutorial #3

RxJava Operators in General In this article, we will continue discussing about RxJava Operators in general and what are the various types of RxJava Operators available. This article will be a brief introduction focusing on what are RxJava Operators and What are the types of Operators available in RxJava that we can use. In the following upcoming articles, we will …

binary search

Binary Search using Kotlin – Searching Algorithms #1

In this article, let us discuss one more Algorithm – Binary Search which is the most frequently asked Algorithms during Interviews. Let us discuss about it in brief and how to implement its algorithm using Kotlin Programming Language. According to Wikipedia, A Binary Search is a search algorithm that finds the position of a target value within a sorted array. The …

hackland election

HackLand Election – Coding Interview Questions #1

This series will be focused on Coding interview questions curated from various interviews / via online source. ”  Hackland Election There are n citizens voting in this year’s Hackland election. Each voter writes the name of their chosen candidate on a ballot and places it in a ballot box. The candidate with the highes number of votes win the election; if two or …

quick sort kotlin

Quick Sort Kotlin Implementation – Sorting Algorithms #4

Quick Sort is based on divide and conquer algorithmic technique, similar to Merge Sort. In this tutorial, we will be looking at  Quick Sort Kotlin Implementation. How Quick Sort Works? In Quick Sort, we will consider a random element of an array as pivot and partition the array into two – left part and right part. The main essence of …

merge sort kotlin

Merge sort Kotlin Implementation – Sorting Algorithms #3

Merge Sort is sorting based on Divide and Conquer strategy and is one of the famous algorithms among Sorting. In this article, we will be discussing about Merge Sort Kotlin Implementation. How Merge sort Works? Merge sort algorithm technique basically involves two processes – one process splits the array into two halves and sorts them individually. The other process involves …

bubble sort kotlin

Bubble Sort Kotlin Implementation – Sorting Algorithms #2

Bubble Sort is the simplest Algorithm of all the sorting techniques. It compares two adjacent elements and swaps them if they are in wrong order. In this article we will focus on Bubble Sort Kotlin Implementation How Bubble Sort Works? Bubble sort works by iterating through the array of N elements, from the first element to the last, comparing each …