Directi came for 3 profiles in our campus for full time role – Platform Engineer, Application Engineer, Operation Engineer. Process for Plat. and App. profile… Read More

# Tag Archives: Directi

We need to make a string of size n. Each character of the string is either ‘R’, ‘B’ or ‘G’. In the final string there… Read More

Given a matrix of size n x n, find sum of the Zigzag sequence with the largest sum. A zigzag sequence starts from the top… Read More

K-Nearest Neighbors is one of the most basic yet essential classification algorithms in Machine Learning. It belongs to the supervised learning domain and finds intense… Read More

Given a N x N matrix, determine the maximum K such that K x K is a submatrix with all equal elements i.e., all the… Read More

Given an array of size N which is initialized with all zeros. We are given many ranges add queries, which should be applied to this… Read More

Given two numbers N and A, find N-th root of A. In mathematics, Nth root of a number A is a real number that gives… Read More

Given a dictionary, a method to do a lookup in the dictionary and a M x N board where every cell has one character. Find… Read More

Given a matrix of N rows and M columns, consists of three value {r, g, b}. The task is to find the area of the… Read More

Given two arrays of positive integers of size m and n where m > n. We need to maximize the dot product by inserting zeros… Read More

Given an NxN chessboard and a Knight at position (x,y). The Knight has to take exactly K steps, where at each step it chooses any… Read More

Interviewers of Directi are completely different from other companies. He asked me relax first and started talking in hindi about the college and stuff(completely irrelevant)… Read More

There was coding round on CodeChef for 90 min duration. You cannot use custom test cases within their IDE or edit your code after running.… Read More

Round 1: Online test on Codechef contains 3 Coding Questions 1. Amanada, a school kid, is learning English alphabets. Her teacher devised a small game to… Read More

Hi, I recently appeared for the 1st round of Directi’s recruitment process. Students were divided into 2 slots. The questions for the slots were as… Read More