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
Aptitude Tests are used by many recruiters around the world. Their purpose is to test technical skills, attitudes, and soft skills related to the search… Read More
Java is the Queen of programming languages. It beholds the pride of the most preferred programming language by software developers. Java has recently celebrated its… Read More
Given an array arr[] of size N and an integer X, the task is to find the length of the longest subsequence such that the… Read More
Given three integers A, B, and K. The task is to check whether A and B can be reduced to zero by decrementing x and… Read More
Given two arrays arr1[] and arr2[] of size N and N – 1 respectively. Each value in arr2[] is obtained by adding a hidden value… Read More
Given an array arr containing N unique integers. The task is to calculate the minimum number of deques required to make the array sorted. Example: … 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