## Python program to check if two strings are an anagram or not

Python program to check if two strings are an anagram or not : In this python programming tutorial, we will learn how to check if two strings are an anagram or not. The user will enter both strings and the Read more…

## Python set isdisjoint() explanation with an example

Python set isdisjoint()  : In this tutorial, we will learn about isdisjoint() method of python set with example. isdisjoint() method is used to find out if two sets are disjoint or not. Two sets are called disjoint if they don’t Read more…

## Python set discard method explanation with an example

Introduction : In this tutorial, we will learn about the discard method of python set. The discard method is used to remove a specific element from a set if it is available. The syntax of  the discard method is as Read more…

## Python program to count the words and characters in a string

Introduction : In this python programming tutorial, we will learn how to count the total words and characters in a string. The program will take the string as input from the user, count the words and characters and then it Read more…

## Java string compareToIgnoreCase and compareTo methods

compareToIgnoreCase and compareTo methods : Java String methods compareToIgnoreCase and compareTo can be used to compare two strings. In this tutorial, we will learn how these methods work with examples.   compareToIgnoreCase : The syntax of compareToIgnoreCase method is as Read more…

## Python program to check if an array is monotonic or not

Monotonic array in Python : In this python programming tutorial, we will learn how to find if an array is monotonic or not. An array is called monotonic if its adjacent numbers are either increasing or decreasing. Monotonic arrays are Read more…

## Kotlin program to calculate simple interest with user input values

Calculate simple interest in Kotlin: In this kotlin programming tutorial, we will learn how to calculate the simple interest by using the user provided values. The user will enter the values and the program will calculate the simple interest.   Read more…

## Java example program to create one ArrayList of ArrayList

How to create one ArrayList of ArrayList in Java : In this quick Java programming tutorial, I will show you how to create one ArrayList of ArrayList, i.e. an ArrayList with ArrayList elements.  The program will take all inputs from Read more…

## Python gamma() function explanation with example

What is the gamma function in python : gamma() function is defined in Python Math module. It takes one argument and calculates the gamma value for that argument. The gamma function is defined as below : gamma(x) = factorial(x – Read more…

## Java compareToIgnoreCase method explanation with an example

Introduction : compareToIgnoreCase is a public method in the String class of Java. We can use this method to compare two Strings lexicographically and ignoring the case.The provided string is normalized by using Character.toLowerCase(Character.toUpperCase(character)) on each character of the String.   Read more…