Add 1 to a number represented as linked list in C++

By Himanshu Raj

In this post, we will learn how to add 1 to a number represented as linked list in C++. For example 4959 is represented as (4-> 9-> 5 -> 9->9) and adding 1 to it should.... Read More

How to sort an array using recursion in C++

By Himanshu Raj

In this post, we will learn how to sort an array using recursion in C++ programming. An array is a continuous memory block in which elements can be extracted sequentially. for exam.... Read More

Print Keypad combination problem using JavaScript

By Anil Kumar Sharma

Hello guys, today we will do the medium-level question of recursion. You can do this question with recursion as well as an iterative method but iterative is a bit hard. If you do n.... Read More

Generating dialog boxes in Java

By Arihant Jain

In this tutorial, we will create a code that will help us to generate dialog boxes in Java. In Java, we will use JOptionPane class to generate dialog boxes.  JOptionPane is a buil.... Read More

Start HTML5 video from a particular time in JavaScript

By Faruque Ahamed Mollick

Using video tags is the easiest way to add a video player to the web page to play video. You can do a lot with this video player with HTML5 DOM JavaScript. In this tutorial, I am g.... Read More

How to find K-th symbol in Grammar using C++

By Himanshu Raj

In the problem, we build a table of n rows (1-indexed). We start by using writing zero within the 1st row. Now in every subsequent row, we observe the preceding row and replace eac.... Read More

Find an element from a list that repeat more than N/3 times in Python

By Amrit Pratyay

In this tutorial, we will find an element from a list that repeats more than N/3 times in Python. This question is asked in many interview/coding rounds. Problem Statement for find.... Read More

How to find a majority element in an Unsorted List in Python

By Amrit Pratyay

In this tutorial, we will see how to find a majority element from an unsorted list using Python. Here, the definition of the majority element will be defined below in the problem .... Read More

Related Posts