Converting PDFs to JPEG using Python

By Harshil Gupta

In this tutorial, we will see how to convert all the pages of pdf into jpeg format using the pdf2image library in Python 3. It is a powerful open-source library that provides a dir.... Read More

Find K’th largest element in a stream in Python

By Zala Dhaval

In this tutorial, you will learn how to find the K’th largest element in a stream in Python. First, understand the question. We have a stream of numbers like “1,5,3,10,.... Read More

Check if a given array contains duplicate elements within k distance from each other in C++

By Vishal Patil

Hello everyone, in this tutorial, we will check if a given array contains duplicate elements within k distance from each other in C++. Examples Input 1 : a[] = {1,4,2,1,5} k=2 Outp.... Read More

How to solve Boolean Parenthesization Problem in Python

By Suyash pratap Singh

In this tutorial, we will learn about an array 1/0 operand and another array operator. The number of different methods (parentheses) used to group these operands is always correct..... Read More

How to check for a valid sudoku in Python

By Suyash pratap Singh

Hello friends, In this tutorial, we learn about Sudoku game, which is represented as 9 * 9 matrix. The following conditions are given below: Check the sum on each line. Check the a.... Read More

Count minimum frequency elements in a Linked List in C++

By Sonal Bera

Hello every one, here in this article, we have to count the minimum frequency of elements in a Linked List in C++. In simple terms, we have to determine those elements in the list,.... Read More

C++ program to print next greater number of Q queries

By Sonal Bera

In this tutorial, we will write a code to display the greater number of Q queries in an array in C++. What this means is that, say we have an array with elements. The next greater .... Read More

Solve N Queen Problem in O(n) space in Python

By Ambuj Verma

In this tutorial, we will learn about how to solve the N Queen problem in O(n) space using Python language. N Queen Problem: This problem is just like a puzzle. In the NxN chessbo.... Read More