Separate characters, special characters and numbers from a string in JavaScript

By Samim

In this tutorial, We will see how to separate characters, special characters and numbers from a string in JavaScript. We can use regular expressions for this purpose. Using match().... Read More

Print array items without commas in Python

By Aakanksha Thakar

This tutorial will see how to print the array elements without commas in Python. Arrays are the data structures that store data of similar data type. Now to print the array element.... Read More

Left rotate an array by D places in Python

By Harsh Gupta

In this post, we will discuss some methods to left rotate an array by D places in Python. Left rotate an array by D places in Python You are given an array and value of D (number o.... Read More

How to check if a given string is sum-string in Python

By Suchita Sriramka

In this tutorial, we will see what is a sum-string and then a short code to check if the given string is a sum-string in Python. The rule to check if a string is sum string is pret.... Read More

Python program to print Aitken’s array

By Suchita Sriramka

In this short tutorial, we will see what an Aitken’s array is and then write a program in Python to print Aitken’s array. Let’s get started. Aitken’s Array in Python Ai.... Read More

How to construct queue using Stacks in Java

By Veda Charitha

Hello Coding Enthusiasts, today we will see how to implement a queue using Stacks in Java. A queue is a First-In-First-Out (FIFO) data structure and a stack is a Last-In-First-Out .... Read More

numpy.polyfit with examples

By Prachi Pandey

Here, In this tutorial, we will learn about numpy.polyfit() in Python with the help of some examples. numpy.polyfit() is a function in Python that is defined to find the least squa.... Read More

Extract negative numbers from array in C++

By Mahak Chawla

In this tutorial, we will learn how to extract negative numbers from an array. An array can consist of positive as well as negative numbers. We will use the if-else statement to co.... Read More