Trim a string in JavaScript

By Samim

In this tutorial, I am going to discuss about three different string methods those are trim(), trimstart(), and trimend(). Those three methods are going to be used to remove the wh.... Read More

Concatenate Integer with String in Swift

By Saruque Ahamed Mollick

In this tutorial, we will learn how to concatenate integer with string in Swift with some easy examples. It’s easy to concatenate two strings in Swift as we all know + is eno.... Read More

Get the difference between two dates in Swift

By Khushi Aswani

You might have understood the topic for today’s tutorial, “Getting the difference between two specific dates in Swift”. As a programmer, you might need to do this.... Read More

Python dir() method with example

By Sumit Chhirush

Hello programmers, in this tutorial, we will learn the Python dir() method with examples. dir({parameter}) method: dir() method is Python’s inbuilt method. It takes only one .... Read More

Find the node with the largest data in Binary Tree in Python

By Karshin Uppal

Here in this tutorial, we will learn how to find the node with the largest data in Binary Tree in Python with the help of recursion. As we know Binary Trees are data structures wit.... Read More

Remove duplicates from sorted Linked List in Python

By Karshin Uppal

Here in this tutorial, we will learn how to remove duplicates from a linked list in Python. From a linked list like this: 1 2 2 3 4 4 5 To a linked list like: 1 2 3 4 5 In a linked.... Read More

Prettier default plot colors in matplotlib

By Sadhu Meghana

In this tutorial, we will make beautiful plots with different colors with matplotlib Python library. While working with plots in matplotlib, we often see that default blue shade ev.... Read More

Check if a value exists in an Array in Java

By Mitun Kumar Sahu

To check if a value exists in an array or not in Java, we can follow 2 methods: Linear search and binary search. To use binary search, the array must be sorted. Time complexity .... Read More

Related Posts