Given two arrays A[] and B[] both consisting of N integers, the task is to find the maximum length of subarray [i, j] such that… Read More

# Category Archives: TrueGeek

Given a 2-D array matrix[][] of size M*N and an integer K. For each occurrence of K in the matrix[][], replace K and all the… Read More

In C/C++, strcat() is a predefined function used for string handling, under string library (string.h in C, and cstring in C++). This function appends the… Read More

Given a positive integer N, the task is to generate N random hexadecimal integers. Examples:Attention reader! Don’t stop learning now. Get hold of all the… Read More

Given a N x N chessboard with a Knight initially standing on the Xth row and Yth column, the task is to print all possible… Read More

Given a string S of size N, the task is to find the maximum sum of values assigned to all the alphabets of the string… Read More

Given N strings, print the maximum length of the string and the string formed by concatenating any of the N strings, such that every letter… Read More

Given two integers A and B, the task is to convert the given two integers to zero at minimal cost by performing the following two… Read More

Dagger is a framework for Android, Java, and Kotlin. Dagger is used to minimize the project complexity and you can remove all dependency injection or… Read More

In this article, we will see how to use NULL values inside NOT IN Clause in SQL. NULL has a special status in SQL. It… Read More

Here we will see, how to read a text file with SQL Server. We can read the text file using the OPENROWSET(BULK ) function. OPENROWSET(BULK)… Read More

As we know XML document is used to store and transport data. So, to access data from XML, we need something which could access each… Read More

Weakly Connected Graph: A directed graph ‘G = (V, E)’ is weakly connected if the underlying undirected graph Ĝ is connected. Attention reader! Don’t stop learning… Read More

Given a N x M matrix. Each cell of the matrix has a numerical value pointing to the next cell it leads to. The values… Read More