Directi interview questions
Online test·83% entry level
DSA
Showing 6 of 122 reported in this area
Find all bridges in a given graph.
Find the k-th root of a number n. Mention any special cases.
Given a number, find the next smallest palindrome greater than the given number
Find the maximum sum path between any two leaf nodes in a binary tree represented as an array.
Boggle: Given a dictionary and a character board, find all possible words present in the board.
Check whether two strings are anagrams of each other without using any additional data structure
CS fundamentals
Showing 40 of 108 reported in this area
Explain the concept of virtual memory.
How is DNS data maintained by DNS servers?
Write and explain the structure of an IP packet.
Explain loading and linking in program execution.
What is the difference between semaphore and mutex?
How would you implement the diff functionality of git?
Is 172.16.23.1/23 a network address or a host address?
Design an object-oriented system (OOP design question).
Which CPU scheduling algorithm can result in starvation?
What happens when you type 'google.com' in a web browser?
What is a man-in-the-middle attack and how can it be prevented?
Explain Huffman encoding with an example and list its advantages.
What are the different types of memory associated with a process?
What is multiprogramming and how does it improve CPU utilization?
Which routing protocol do you consider best and how does it work?
Moderate-level conceptual questions on Database Management Systems.
Moderate-level conceptual questions on Object-Oriented Programming.
Which has higher time complexity among malloc, calloc, and realloc?
What is the difference between a soft link and a hard link in Linux?
What happens when a process encounters a function in its text segment?
What happens when you type a web address in a browser and press Enter?
How would you reduce operation time when a database becomes very large?
Why is the hosts file maintained on the client side and how is it used?
Explain TCP three-way handshake and why two-way handshake does not work.
Explain mutex locks and semaphores, their differences, and applications.
What is thrashing and how is it related to demand paging and segmentation?
Which data structure is used to store data on secondary (permanent) storage?
What is subnetting? What is a Network ID? Why do we use classless addressing?
Why are B-trees preferred over normal binary search trees for database indexing?
Explain the Android ecosystem and how you would build an Android app from scratch
If you had to build a database index, which data structure would you use and why?
Send only those lines of a file that contain a specified substring to the client.
Explain concurrency in Java including synchronized methods and synchronized blocks
Explain the complete DNS message exchange process to convert a URL into an IP address.
On client termination using Ctrl+C, print the total number of bytes sent to the server.
Why does the OSI model have multiple layers and what are the functionalities of each layer?
How is a database implemented in Android and what is a Content Provider and Content Resolver?
Implement a client-server application using TCP to transfer a text file from client to server.
What happens when your system (172.16.1.22) communicates with another system at IP 172.16.1.23?
Given two devices with specific IP addresses, how would you connect them so they can communicate?
System design
Showing 11 of 31 reported in this area
How would you design a scalable service?
How does a load balancer work internally?
What is a load balancer and why is it used?
Implement a command to query the remaining TTL for a given key.
Implement appending data to an existing file on the remote server.
How would you efficiently balance load across N servers using a load balancer?
List all files on the server, including hidden files, in a tree-like structure.
How would you detect and handle backend servers that stop responding to clients?
Discuss infrastructure planning and load balancing strategies in distributed systems.
How would you design a chat application where there is no central server to store messages?
Design a client that shards key-value data across two server instances running on different ports.
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).
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.
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.
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 practisingCommon 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%.