Skip to content
Gblog Geek Week 2021 – The Biggest Festival For Programmers
The month of October brings along with itself festive vibes, good food & so many holidays too! Add to all that, a bit of geeky-ness.… Read More
Given string str that contains only digits, the task is to return an expression by inserting the ‘+’ or ‘*’ operator between every two digits… Read More
Almost each one of you would agree that a discount offer or sale on the desired product is something that fascinates us the most! And… Read More
Given a matrix mat[][] of dimensions N*M and an array target[] of M integers, the task is to check whether any row of the matrix… Read More
Given numeric string S of size N and a positive integer K, the task is to find the minimum number of adjacent swaps required in… Read More
Given a ternary string S of length N containing only ‘0’, ‘1’ and ‘2’ characters and Q queries containing a range of indices [L, R],… Read More
Hashing is a great practical tool, with an interesting and subtle theory too. In addition to its use as a dictionary data structure, hashing also… Read More
Given an array arr[] of N integers and a positive integer K, the task is to find the minimum number of operations required to reduce… Read More
Given a positive integer N, the task is to check if N can be written as the sum of two perfect biquadrates or not i.e., (N… Read More
Given three positive integers X, Y, and B, where X and Y are Base-B integers, the task is to find the value of X –… Read More
Given an array arr[] of N integers, the task is to find the number of pairs of array elements (arr[i], arr[j]) such that the difference… Read More
Given an array arr[] of N integers and an integer D, the task is to find the length of the longest non-decreasing subsequence such that… Read More
Python PyGame library is used to create video games. This library includes several modules for playing sound, drawing graphics, handling mouse inputs, etc. It is… Read More
Machine Learning as the name suggests is the field of study that allows computers to learn and take decisions on their own i.e. without being… Read More
Python Matplotlib is a library for visualization that helps to create a variety of charts in a variety of hardcopy formats. You might have seen… Read More
JSON  (JavaScript Object Notation) is a file that is mainly used to store and transfer data mostly between a server and a web application. It… Read More