python

How to implement insertion sort in python

Python program to implement insertion sort. This python program will take an array of unsorted numbers and sort them using insertion sort.

Read
python

How to check the Numpy version in linux, mac and windows

Learn how we can check the numpy version in linux, mac and windows. This post will show you two different ways to check the numpy version.

Read
python

Python numpy append method explanation with example

Python numpy append method explanation with example. append() is used to join two numpy arrays. This post will show you how to use python numpy append with example.

Read
python

Python program to check two integer arrays contains same elements

Python program to check if two arrays are equal or not or if two integer arrays contains the same elements. Both are equal-sized array and the order may differ.

Read
C++

C++ program to check if two arrays hold the same values

C++ program to check if two arrays holds the same values or if both are equal or not. The program will take the numbers of each array as input from the user and print one message if both are equal or not.

Read
typescript

How to use forEach in typescript array

Learn how to use forEach in a typescript array. forEach can be used to iterate over the array items. It can be used with arrays, maps, sets etc.

Read
C++

C++ program to print Fibonacci series

C++ program to print fibonacci series. The program will take the total numbers to show in the fibonacci series as input from the user and it will print the fibonacci series from 1 to n.

Read
c

Difference between %d and %i format specifiers in C

Difference between %d and %i format specifiers in C. %d is used for signed decimal integers and %i is used for integers.

Read
c

How to declare a variable dynamically in C

Learn how to declare a variable dynamically in c. Dynamic memory allocation is used to manage memory in runtime. We can allocate a specific amount of memory for a variable using it.

Read
c

C program to print squares and cubes of all numbers from 1 to n

C program to print the square and cube of all numbers from 1 to n. It will take the value of n from the user and print all squares and cubes from 1 to n.

Read