Directi interview questions

252 questions from 30 candidate reports · 2012 to 2020

Online test·83% entry level

DSA

Showing 6 of 122 reported in this area

Find all bridges in a given graph.
asked oncemediumPractice this →
Find the k-th root of a number n. Mention any special cases.
asked oncemediumPractice this →
Given a number, find the next smallest palindrome greater than the given number
asked oncemediumPractice this →
Find the maximum sum path between any two leaf nodes in a binary tree represented as an array.
asked oncemediumPractice this →
Boggle: Given a dictionary and a character board, find all possible words present in the board.
asked oncemediumPractice this →
Check whether two strings are anagrams of each other without using any additional data structure
asked oncemediumPractice this →

CS fundamentals

Showing 40 of 108 reported in this area

Explain the concept of virtual memory.
asked oncemediumPractice this →
How is DNS data maintained by DNS servers?
asked oncemediumPractice this →
Write and explain the structure of an IP packet.
asked oncemediumPractice this →
Explain loading and linking in program execution.
asked oncemediumPractice this →
What is the difference between semaphore and mutex?
asked oncemediumPractice this →
How would you implement the diff functionality of git?
asked oncemediumPractice this →
Is 172.16.23.1/23 a network address or a host address?
asked oncemediumPractice this →
Design an object-oriented system (OOP design question).
asked oncemediumPractice this →
Which CPU scheduling algorithm can result in starvation?
asked oncemediumPractice this →
What happens when you type 'google.com' in a web browser?
asked oncemediumPractice this →
What is a man-in-the-middle attack and how can it be prevented?
asked oncemediumPractice this →
Explain Huffman encoding with an example and list its advantages.
asked oncemediumPractice this →
What are the different types of memory associated with a process?
asked oncemediumPractice this →
What is multiprogramming and how does it improve CPU utilization?
asked oncemediumPractice this →
Which routing protocol do you consider best and how does it work?
asked oncemediumPractice this →
Moderate-level conceptual questions on Database Management Systems.
asked oncemediumPractice this →
Moderate-level conceptual questions on Object-Oriented Programming.
asked oncemediumPractice this →
Which has higher time complexity among malloc, calloc, and realloc?
asked oncemediumPractice this →
What is the difference between a soft link and a hard link in Linux?
asked oncemediumPractice this →
What happens when a process encounters a function in its text segment?
asked oncemediumPractice this →
What happens when you type a web address in a browser and press Enter?
asked oncemediumPractice this →
How would you reduce operation time when a database becomes very large?
asked oncemediumPractice this →
Why is the hosts file maintained on the client side and how is it used?
asked oncemediumPractice this →
Explain TCP three-way handshake and why two-way handshake does not work.
asked oncemediumPractice this →
Explain mutex locks and semaphores, their differences, and applications.
asked oncemediumPractice this →
What is thrashing and how is it related to demand paging and segmentation?
asked oncemediumPractice this →
Which data structure is used to store data on secondary (permanent) storage?
asked oncemediumPractice this →
What is subnetting? What is a Network ID? Why do we use classless addressing?
asked oncemediumPractice this →
Why are B-trees preferred over normal binary search trees for database indexing?
asked oncemediumPractice this →
Explain the Android ecosystem and how you would build an Android app from scratch
asked oncemediumPractice this →
If you had to build a database index, which data structure would you use and why?
asked oncemediumPractice this →
Send only those lines of a file that contain a specified substring to the client.
asked oncemediumPractice this →
Explain concurrency in Java including synchronized methods and synchronized blocks
asked oncemediumPractice this →
Explain the complete DNS message exchange process to convert a URL into an IP address.
asked oncemediumPractice this →
On client termination using Ctrl+C, print the total number of bytes sent to the server.
asked oncemediumPractice this →
Why does the OSI model have multiple layers and what are the functionalities of each layer?
asked oncemediumPractice this →
How is a database implemented in Android and what is a Content Provider and Content Resolver?
asked oncemediumPractice this →
Implement a client-server application using TCP to transfer a text file from client to server.
asked oncemediumPractice this →
What happens when your system (172.16.1.22) communicates with another system at IP 172.16.1.23?
asked oncemediumPractice this →
Given two devices with specific IP addresses, how would you connect them so they can communicate?
asked oncemediumPractice this →

System design

Showing 11 of 31 reported in this area

How would you design a scalable service?
asked oncemediumPractice this →
How does a load balancer work internally?
asked oncemediumPractice this →
What is a load balancer and why is it used?
asked oncemediumPractice this →
Implement a command to query the remaining TTL for a given key.
asked oncemediumPractice this →
Implement appending data to an existing file on the remote server.
asked oncemediumPractice this →
How would you efficiently balance load across N servers using a load balancer?
asked oncemediumPractice this →
List all files on the server, including hidden files, in a tree-like structure.
asked oncemediumPractice this →
How would you detect and handle backend servers that stop responding to clients?
asked oncemediumPractice this →
Discuss infrastructure planning and load balancing strategies in distributed systems.
asked oncemediumPractice this →
How would you design a chat application where there is no central server to store messages?
asked oncemediumPractice this →
Design a client that shards key-value data across two server instances running on different ports.
asked oncemediumPractice this →

Puzzles

Showing 3 of 6 reported in this area

Given a random function that outputs a value in the range [-1, 1], estimate the value of π (PI).
asked oncemediumPractice this →
Given a sequence of serves in a tennis game (A or B), find all possible combinations of T (serves to win a set) and S (sets to win the match) such that the sequence is valid and results in a clear winner.
asked oncemediumPractice this →
Two piles contain m red plates and n black plates. A move consists of taking any number of red plates, any number of black plates, or an equal number of red and black plates. Players alternate turns and the player who cannot move loses. Given m and n, determine if the starting player will win or lose assuming optimal play.
asked oncemediumPractice this →

Showing 60 of 252 questions. Ranked by how often the same question came back across reports.

Practise a Directi-style interview

A spoken interview built from these questions, scored when you finish; the report is yours.

Start practising

Common questions

What questions does Directi ask?

Candidate interview reports most often cover DSA (46%) and CS fundamentals (40%).

How many rounds does Directi interview have?

Candidate interview reports show an average of 3.3 rounds per experience, with a typical sequence of Online test. Individual interview paths can vary.

Is the Directi interview hard?

Among questions with a reported difficulty, the mix is easy 19%, medium 58%, hard 24%.

Keep reading