Control characters are characters that don’t represent printable character yet rather serves to start particular action. Control characters are utilized to execute any action, in… Read More »

In machine learning, When we want to train our ML model we split our entire dataset into training_set and test_set using train_test_split() class present in… Read More »

Given a Binary Tree consisting of N nodes, the task is to print its Mix Order Traversal. Mix Order Traversal is a tree traversal technique,… Read More »

Given an integer N, the task is to find the largest number M, where (M < N), such that N(XOR)M is equal to N(OR)M i.e.… Read More »

Given an integer array arr[] of size N, the task is to construct an array consisting of N+1 strings of length N such that arr[i]… Read More »

Given a rooted tree having N vertices, an array values[ ], which represents the value assigned to each node, and a vertex V, the task… Read More »

Given an array arr[] of positive integers and a number K, the task is to find the minimum and maximum values of Bitwise operation on… Read More »

Qualcomm visited our campus for Internship to hire for both hardware as well as software profiles. Round 1 [Written Test]: 1st Round was an online… Read More »

Ports : It the connection point acts as interface between the computer and the external devices like: printer, modem, etc. There are two types of… Read More »

Given an integer K, the task is to find a pair of numbers (A, B) such that A – B = K and A /… Read More »

Given an integer N, our task is to check if N can be divided into K consecutive elements with a sum equal to N. Print… Read More »

Given an even number N, the task is to check whether it is a Perfect number or not without finding its divisors. In number theory,… Read More »

Given two arrays start[] and end[] consisting of positive integers denoting the starting and ending points of a segment respectively, the task is to find… Read More »

Puzzle: A museum has an exhibition space of 16 rooms. There is a door between every pair of horizontally and vertically adjacent rooms. In addition,… Read More »

Given a number N, the task is to find the number of days corresponding to each month where 1 is January, 2 is February, 3… Read More »

Place the numbers 1 to 9 in a circle, so that wherever there are three in a straight line they shall add up to 15.… Read More »

Prerequisites – Two Phase Locking Protocol and Types of Two Phase Locking Protocols 1. Conservative 2-PL : It is also known as Static 2-PL. This… Read More »

Given a string str, the task is to check whether the given string is linear or not. If it is linear then print “Yes” else… Read More »

Given a lowercase characters string str of size N. In one operation any character can be changed into some other character. The task is to… Read More »

ABCD is a square field of 40 acres. The line BE is a straight path, and E is 110 yards from D. In a race… Read More »