JavaScript program to get unique values in an array

Javascript tutorial to get unique values from an array of different elements. The output array will hold only unique elements of that array.

Read

How to check if an array is empty or not in JavaScript

JavaScript program to check if an array is empty or not. I will show you different examples to check for an empty array using its length property.

Read

JavaScript map with an array of objects

Learn how to work with JavaScript map method with example. map is used to call one function on each element of an array to create one different array.

Read

Python program to find all indices of a character in a string

This program will show you how to find all indices of a character in a user provided string. We will take both the string and character from the user and print out all indices of that character.

Read

Write a C program to find the frequency of vowels in a string

Write a C program to find the frequency of vowels in a string. It will take one string as input from the user and prints out the count of each vowel.

Read

C++ program to find the square root of a number

C++ tutorial to find the square root of a number. We will learn how to find the square root using pow() and sqrt() methods.

Read

Two different ways to start a thread in Java

Learn how to start a thread in Java in two different ways. We will learn how to start a thread by extending the Thread class and by implementing the Runnable interface.

Read

How to transform swift dictionary values using mapValues()

Learn how to transform swift dictionary values using mapValues method with example.

Read

Swift dictionary map explanation with example

In this swift example, we will learn how to use the map() method with explanation and examples. map() is a useful method that uses one mapping function to apply on all of its elements.

Read

How to create an array of dictionary elements in swift

This tutorial will show you how to create an array of dictionary elements in swift. If we put dictionaries in an array, it will create a array of dictionaries.

Read