Print a particular nth Fibonacci number in C++ up to range 10^18

By Vishal Kumar

In this tutorial, we are going to learn how to print a particular Fibonacci number up to range 10^18 in C++. We are going to use a hash map for this particular problem. As we know .... Read More

Sum of principal diagonal of a Matrix in Java

By Akash Tripathi

Hello coders, today we will see how to find the sum of principal diagonal in a matrix in Java. A matrix is nothing but a 2D array, and since we need to work with diagonal therefore.... Read More

Python Command Line Arguments

By Kunal Gupta

Hello everyone, In this tutorial, we’ll be learning about Python Command-line Arguments and how we can use them in our Codes. We will be using the sys module whose functions .... Read More

Aggregation in C++

By Paaritosh Sujit

Aggregation in C++ (commonly called as a has-a relationship), is a process in which one class defines a second class as an entity reference. It is a method of reusability of classe.... Read More

OS Module in Python

By Kunal Gupta

Hello everyone, In this tutorial, we’ll be learning about OS module in Python which provides flexibility to use Operating System dependent functionalities. It is an in-built.... Read More

Palindrome check for number or string in C++

By Yash Shakya

In this tutorial, we are going to work on palindrome check for a given number or string in C++. This is a very frequently asked question in different interviews and written exams t.... Read More

How to detect a loop in a linked list in C++

By Barshan Paul

How to detect a loop in a linked list in C++: This program will tell us how to detect a loop in a linked list in C++. Those of you who don’t know what is a linked list:  Sin.... Read More

Sort a linked list using recursion in C++

By Sakshi Gupta

In this tutorial, we will learn how to sort a linked list in C++ using recursion. A Linked list is a data structure. It is made up of nodes that are created using self-referential .... Read More

Related Posts