Find the Maximum Product of Two Integers in an Array
Problem Statement We have given an integer array and we need to find two numbers from the array …
Move all zeros present in an array to the end
We have given an integer array, and we need to move all the zeros present in it to the end. And the…
Sort an array in one swap whose two elements are swapped
Problem Statement We have given an array in which all elements are sorted except two. Those two …
30+ Effective Bash Script Examples You Need to Know
Bash is a handy tool if you are a developer and wish to experience the power of software developmen…
Write a Program to convert a lowercase alphabet to uppercase or vice-versa using ASCII code
ASCII stands for American Standard Code, and it represents a unique numeric value for every charact…
Program to Find Cube of a Number using Function
Function in programming languages used to perform specific tasks. The functions increase the reusab…
Program to find quotient and remainder of two numbers
In this programming tutorial, we will write a program to find the quotient and remainder of two num…
Write a Program to Print the Given Series: 1 2 4 8 16 32 64 128
We all studied several sequences or series of mathematics in our childhood, such as arithmetic sequ…
Write a Program to Print Three Numbers in Descending Order: A Step-By-Step Guide
Let's say we have three numbers and need to sort them in descending order. How would …
Program to calculate sum and average of three numbers
In this tutorial, we will learn how to write a script in C, C++, and Python to calculate the sum an…
Minimum Edit Distance
Problem Statement You are given two strings, string1 and string2, your task is to perform the op…
Program to Addition, subtraction and multiplication of two numbers using function
In this programming tutorial, you will learn how to write a program in three different programming …