Upload Button Icon Add office photos

Directi

Compare button icon Compare button icon Compare

Filter interviews by

Directi Interview Questions, Process, and Tips

Updated 16 Jun 2024

Top Directi Interview Questions and Answers

  • Q1. Duplicate Elements in Array You are provided with an array or list called ARR , consisting of N integers. These integers fall within the range from 0 to N - 1. Some elem ...read more
    asked in Software Developer interview
  • Q2. 2)Given an n x n matrix, where every row and column is sorted in increasing order. Given a number x, how to decide whether this x is in the matrix. The designed algorithm ...read more
    asked in Software Engineer interview
  • Q3. Algorithms: Write an algorithm to list elements of a Fibonacci series; There are two unsorted arrays (with no repeating elements) – find the median of the combined array ...read more
    asked in Product Manager interview
View all 71 questions

Directi Interview Experiences

Popular Designations

22 interviews found

Interview Questions & Answers

user image Anonymous

posted on 2 Jun 2015

Interview Questionnaire 

12 Questions

  • Q1. Suppose you are given a string of length n and a set of pairs(i, j such that 0 <= i < j < n). Pair “i, j” (0 based indexing) means that you can swap the i’th and j’th character in the string any number of ...
  • Ans. 

    Given a string and pairs of indices, output the lexicographically smallest string after swapping characters.

    • Sort the pairs based on the first index in ascending order.

    • Use union-find data structure to keep track of connected components.

    • Swap characters in the string based on the connected components.

    • Return the lexicographically smallest string.

  • Answered by AI
  • Q2. Suppose there are two piles of plates in the table. One has ‘m’ RED plates and other has ‘n’ BLACK plates. In his/her chance, a player can either pick any number of red plates or any number black plates or...
  • Q3. Suppose there are ‘n’ trees (literal trees, not trees of computer science, suppose they don’t have any branch, more like a straight stick), each of them have some height. We want x length of wood. We have a woodcutter, which we will use to cut all the trees at the same height ‘h’ from ground, if ‘h’ is greater than the height of any tree, means that tree is not cut. Given the heights of all the trees and length ‘x’ of wood required, output the height ‘h’ from ground from where you will cut all the trees
  • Q4. You have an undirected weighted graph, given input ‘x’ and ‘y’, which are any two vertices of the graph, you have to output all the edges that are in any of the shortest path from x to y. Note that there c...
  • Ans. 

    Output all edges in any shortest path from x to y in an undirected weighted graph

    • Use Dijkstra's algorithm to find all shortest paths from x to y

    • Store the predecessor of each vertex to reconstruct the paths

    • Output all edges in any of the shortest paths found

  • Answered by AI
  • Q5. About any of my self-projects
  • Q6. Advantages and disadvantages of BST and hashing. Questions related to collisions in hashing etc
  • Q7. A question related to databases, he asked me to make a query
  • Q8. Formulate the angle between the hour hand and minute hand of the clock for any given time
  • Ans. 

    The angle between the hour hand and minute hand of a clock can be calculated using a simple formula.

    • The angle between the hour hand and minute hand is given by the formula: |(30H - 11/2) - 6M| degrees

    • H is the hour hand position and M is the minute hand position

    • If the result is greater than 180 degrees, subtract it from 360 degrees to get the acute angle

  • Answered by AI
  • Q9. Suppose we have a huge CSV file having ip-address ranges and its corresponding country code, given any ip-address how will we find the country which it belongs to
  • Ans. 

    To find the country of an IP address from a CSV file, we can use a lookup table based on the IP address range.

    • Create a lookup table from the CSV file with IP address ranges and corresponding country codes

    • Parse the given IP address and match it with the ranges in the lookup table to find the corresponding country code

    • Use binary search for efficient lookup in the IP address ranges

    • Handle cases where the given IP address f

  • Answered by AI
  • Q10. Difference between BST and tries
  • Q11. He asked few questions from Network course and OS course
  • Q12. You have a huge linked list, how will you detect any loop in the linked list
  • Ans. 

    To detect a loop in a linked list, we can use Floyd's Cycle Detection Algorithm.

    • Use two pointers, one moving at twice the speed of the other

    • If there is a loop, the two pointers will eventually meet at some point

    • Alternatively, use a hash set to store visited nodes and check for duplicates

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: There were 2 questions. Question 1 had 2 points whereas question 2 had 1 point.
Question 1. There is a compressed string eg. ”ab2c3”, the string has lowercase characters and numbers. We can uncompress the given string as follows: whenever we get a number “n” in the string, the portion of the string before the number will repeat “n” times. So in the above example, we get a 2, so string will become “ababc3”, now we get a 3, so final string will be “ababcababcababc”.
Given a compressed string and a number k, you have to output the k’th character in the uncompressed string.1 <= length of string <= 1500
1 <= n <= 1000
1 <= k < 2^31
example:
input: ab2c3 10
output: c
Question 2. There is a string whose characters can only be either ‘a’, ‘b’ or ‘_’ (there can be only one ‘_’ in the string). At each step, we can modify the string as follows:
1. ‘_’ can be swapped with its adjacent character, example “a_ba” can be changed to either “_aba” or “ab_a”.
2. Two characters adjacent to ‘_’ (both on the same side of ‘_’) can be reversed along with the ‘_’ if both characters are different, example, “aa_ba” can be changed to “aaab_” but not to “_aaba” because both characters are ‘a’.
You are given two strings, the initial state and the final state (lengths will be same), you have to output the minimum number of steps required to change the string in initial state to the string in the final state.
example:
input: a_b ab_
output: 1
input: abaa_a b_aaaa
output: 4
reason for example 2:- abaa_a -> aba_aa -> ab_aaa -> _baaaa -> b_aaaa
Hint: Use Breadth first searchThey shortlisted 12 students after this contest for the next round.
Total Questions: 02

Round: Technical Interview
Experience: Question 1. Suppose you are given a string of length n and a set of pairs(i, j such that 0 <= i < j < n). Pair “i, j” (0 based indexing) means that you can swap the i’th and j’th character in the string any number of times. You have to output the lexicographically smallest string that can be produced by doing any number of swaps on the input string.
example:input: zcxfbe
0, 1 0, 2 3, 5
output: cxzebfHint: Try to model the problem to a graph problem.
Question 2. Suppose there are two piles of plates in the table. One has ‘m’ RED plates and other has ‘n’ BLACK plates. In his/her chance, a player can either pick any number of red plates or any number black plates or equal number of red and black plates. A player loses if he cannot make a move in his/her chance. You are playing this game with your friend. Given that you begin the game and both the players play optimally, output ‘L’ if you will lose or ‘W’ if you will win.
example:
input: m = 1, n = 2
output: L
input: m = 2, n = 2
output: W
After this round, they selected 4 people for the next round of interview.

General Tips: Tips:1. There main focus was on string and graph&#44; prepare well for them.2. Practice your codes on paper or google doc, you will not get any editor for coding.3. Keep your concepts clear on all the topics, they can ask you about any minute detail of any data structure or algorithm.
College Name: NA

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Walk-in and was interviewed in Feb 2023. There were 5 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all Resume tips
Round 2 - Aptitude Test 

Basic HR Round to get basic requirements of IT Manager

Round 3 - Technical 

(2 Questions)

  • Q1. One Round With Shift Leads to check your communication technical skills and behaviors
  • Q2. Basic technical questions from Port number to scenario
Round 4 - One-on-one 

(1 Question)

  • Q1. Final round with Team Manager, He mostly repeats the questions and focuses on a questions which you were not able to answer in the shift lead round to know if you are hungry for knowledge or not
Round 5 - One-on-one 

(1 Question)

  • Q1. If you are applying for a higher position then the IT Project manager comes into the scene, And their questions are based on your profile but this will be very technical

Interview Preparation Tips

Interview preparation tips for other job seekers - Wear Good Clothes and polished shoes.
Focus on technical accurate answers rather than English communication as 90% of the crowd will speak with you in local languages rather than English. Yes, But English communication will get the higher package.

IT Support Executive Interview Questions asked at other Companies

Q1. What is Account payable and Account receivable in ERP?
View answer (2)
Directi Interview Questions and Answers for Freshers
illustration image

Intern Interview Questions & Answers

user image Anonymous

posted on 9 Jan 2023

Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
6-8 weeks
Result
No response

I applied via Recruitment Consulltant

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all Resume tips
Round 2 - Assignment 

It was a clear job and I managed to do well with the guidelines presented. This is not a real review because theyre forcing me to write one

Round 3 - Group Discussion 

None at all of course this is all nonsense because I want to read reviews so I need to write this crap

Round 4 - Coding Test 

The coding test was just terrific easy and manageable all in all a good experience

Interview Preparation Tips

Interview preparation tips for other job seekers - None at all please stop forcing people to write stuff gosh so annoyibg

Intern Interview Questions asked at other Companies

Q1. Case. There is a housing society “The wasteful society”, you collect all the household garbage and sell it to 5 different businesses. Determine what price you will pay to the society members in Rs/kg, given you want to make a profit of 20% ... read more
View answer (8)
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed before Jun 2023. There were 2 interview rounds.

Round 1 - Coding Test 

Given a set of questions to be solved within a given time frame.

Round 2 - One-on-one 

(3 Questions)

  • Q1. About myself and projects done during my academics
  • Q2. Various Oops concepts
  • Q3. DNS concepts -How does internet work? what happens when someone types a url in browser?

Top Directi Software Developer Interview Questions and Answers

Q1. Duplicate Elements in Array You are provided with an array or list called ARR, consisting of N integers. These integers fall within the range from 0 to N - 1. Some elements in this array may appear more than once. Your task is to identify a... read more
View answer (1)

Software Developer Interview Questions asked at other Companies

Q1. Maximum Subarray Sum Problem Statement Given an array of integers, determine the maximum possible sum of any contiguous subarray within the array. Example: Input: array = [34, -50, 42, 14, -5, 86] Output: 137 Explanation: The maximum sum is... read more
View answer (42)

Directi interview questions for popular designations

 Software Developer

 (5)

 Application Developer

 (3)

 Software Engineer

 (2)

 Product Manager

 (1)

 Applications Engineer

 (1)

 IT Support Executive

 (1)

 Platform Engineer

 (1)

 Intern

 (1)

Interview Questionnaire 

14 Questions

  • Q1. Run me through your resume. Why Product Manager? Why DirectI, which product did you apply for and why?
  • Ans. 

    I have a strong background in product management and a passion for creating innovative solutions. I applied for the Product Manager position at DirectI because of their reputation for excellence and the opportunity to work on their cutting-edge products.

    • I have X years of experience in product management, successfully launching several products in the past.

    • I have a proven track record of driving product strategy and del...

  • Answered by AI
  • Q2. Give a brief of the features suggested in the case solution submitted.
  • Ans. 

    The case solution submitted suggested features such as personalized recommendations, social media integration, and a user-friendly interface.

    • Personalized recommendations based on user behavior and preferences

    • Social media integration for easy sharing and promotion

    • User-friendly interface with intuitive navigation and clear calls to action

    • Integration with third-party services such as payment gateways and shipping provider...

  • Answered by AI
  • Q3. Pick the feature that is a revenue stream and estimate the revenue generated in a year.
  • Ans. 

    The subscription feature is a revenue stream.

    • Subscription feature allows users to pay for premium content or services.

    • Estimate revenue based on current user base and potential growth.

    • Consider pricing strategy and competition.

    • Example: Spotify Premium generates $1.5 billion in revenue annually.

  • Answered by AI
  • Q4. How much should BookMyShow bid for an AdWord that will figure as the top result in a Google search?
  • Ans. 

    The bid for the AdWord should be based on the value of a click and the conversion rate.

    • Calculate the value of a click by estimating the revenue generated per click.

    • Determine the conversion rate of the website to estimate the number of clicks needed to generate a sale.

    • Consider the competition for the keyword and adjust the bid accordingly.

    • Use tools like Google Keyword Planner to estimate the bid range for the keyword.

    • Re...

  • Answered by AI
  • Q5. You are Product Manager of YouTube and average time spent on Youtube by a user has fallen in the last 2 weeks. How will you troubleshoot the problem.
  • Ans. 

    As Product Manager of YouTube, troubleshoot the problem of falling average time spent on YouTube by a user in the last 2 weeks.

    • Analyze user behavior and identify the reason for the drop in average time spent

    • Conduct surveys to understand user preferences and expectations

    • Review competitor offerings and identify areas of improvement

    • Introduce new features or content to increase user engagement

    • Improve user experience and in...

  • Answered by AI
  • Q6. Couple of algo questions. Ex: Sort two unsorted arrays into one.
  • Ans. 

    Merge two unsorted arrays into one sorted array.

    • Create a new array to store the merged array

    • Loop through both arrays and add elements to the new array

    • Sort the new array using any sorting algorithm

    • Return the sorted array

  • Answered by AI
  • Q7. Recommendation engine: What factors will you consider while designing a recommendation engine for a news website like MSN?
  • Ans. 

    Factors to consider while designing a recommendation engine for a news website like MSN.

    • Identify user preferences and behavior

    • Analyze user history and engagement

    • Consider content relevance and recency

    • Incorporate social media trends and user feedback

    • Use collaborative filtering and machine learning algorithms

    • Ensure diversity in recommendations

    • Optimize for speed and scalability

  • Answered by AI
  • Q8. Ad fraud: How is ad fraud carried out? How will you detect a bot’s fraud (list all mechanisms).
  • Ans. 

    Ad fraud and detecting bot fraud mechanisms

    • Ad fraud can be carried out through click fraud, impression fraud, and conversion fraud

    • Detecting bot fraud can be done through analyzing user behavior, IP addresses, and device information

    • Other mechanisms include using machine learning algorithms and third-party verification tools

    • Examples of bot fraud detection tools include WhiteOps, DoubleVerify, and Integral Ad Science

  • Answered by AI
  • Q9. Algorithms: Write an algorithm to list elements of a Fibonacci series; There are two unsorted arrays (with no repeating elements) – find the median of the combined array (use a 3rd array if you wish). Find...
  • Ans. 

    Algorithm to list Fibonacci series and find median of combined array with and without 3rd array

    • For Fibonacci series, start with 0 and 1, then add previous two numbers to get next number

    • For finding median of combined array, merge the two arrays and sort them, then find the middle element(s)

    • For finding median without 3rd array, use two pointers to traverse both arrays simultaneously and keep track of previous and current

  • Answered by AI
  • Q10. What was a typical day in your previous job?
  • Ans. 

    As a Product Manager, my typical day involved collaborating with cross-functional teams, analyzing market trends, and prioritizing product roadmap.

    • Collaborated with cross-functional teams to ensure alignment on product vision and roadmap

    • Analyzed market trends and customer feedback to identify opportunities for product improvement

    • Prioritized product roadmap based on business goals and customer needs

    • Conducted user resear...

  • Answered by AI
  • Q11. Design a car sharing app. Create mockups, describe features. What is your customer acquisition strategy?
  • Ans. 

    A car sharing app that connects car owners with people who need a ride.

    • Users can search for available cars in their area and book a ride.

    • Car owners can list their car and set their own price for the ride.

    • The app should have a rating system for both drivers and passengers.

    • Payment should be handled through the app.

    • Customer acquisition strategy can include social media advertising, referral programs, and partnerships with

  • Answered by AI
  • Q12. Youtube is planning remove the option to “skip to videos” to appease advertisers. How should Youtube price this option to advertisers?
  • Ans. 

    Advertisers want to remove 'skip to video' option on Youtube. How should it be priced?

    • Pricing should be based on the length of the video.

    • Advertisers should pay more for longer videos.

    • Pricing should also consider the popularity of the video.

    • Advertisers should pay more for popular videos.

    • Auction-based pricing could be used to determine the price.

    • Advertisers could bid on the price they are willing to pay for the option.

    • Pr...

  • Answered by AI
  • Q13. Questions on feasibility of features and their monetisation strategy.
  • Ans. 

    Feasibility and monetisation strategy for product features.

    • Conduct market research to determine demand and willingness to pay

    • Assess technical feasibility and resource requirements

    • Consider potential revenue streams and pricing models

    • Evaluate competition and differentiation opportunities

    • Prioritize features based on impact and feasibility

    • Iterate and refine monetisation strategy based on user feedback

  • Answered by AI
  • Q14. You are PM of Flipkart and interviewer is the DB administrator. Cart abandonment in Flipkart has gone up in the last week. What data (in SQL parlance) will you ask the DB guy to find the root cause?
  • Ans. 

    As PM of Flipkart, what SQL data would you ask the DB admin to find the root cause of cart abandonment increase?

    • Ask for data on the number of abandoned carts in the last week compared to previous weeks

    • Check if there were any changes made to the checkout process or payment options

    • Analyze the data on the products that were abandoned in the cart

    • Look for any technical issues or errors that may have occurred during the chec...

  • Answered by AI

Interview Preparation Tips

DirectI interview Preparation:What tips would you give to other job seekers? - Tips:

1) Be thorough with your case submission. Do not mention any feature unless you think it is feasible (technically and economically).

2) Be ready for estimation questions. If the metrics provided are user engagement, CTR, CPC, etc., think through how much each will contribute to revenue in a year. Be prepared with this and not wait to hear it for the first time in the interview.

3) Basic premise: BookMyShow should bid at least as much as the profit it will make through the revenue generated by the AdWord. This boils down to an estimation question about CTR, Avg. ticket size on BookMyShow, CLV of a customer and of course, market size estimation.

4) I think they believe that only by pushing to the limit will creative solutions appear. While solving case type questions, think out loud. Make assumptions and say it loud and provide a rationale for making such an assumption (they shouldn’t be outrageous assumptions).

5) Recommendation engine: Thinking from the perspective of end-users always helps get insights. (Read consumer behaviour). Draw a process chart of how a user would interact with the system and undergo the process step by step. Prior knowledge of workings of search, reco engines will help in listing down the obvious factors. For every factor listed down, discuss if the interviewer agrees with you. Provide your rationale behind the suggestion. (Q7)

6) Ad fraud: Understand the definition of fraud and just to be sure that both are on the same page as far as the understanding of Q goes. If you know technically how ad fraud works, great – feel free to include tech jargon in to your answer. Be careful to not go too deep unless you are sure of what you are saying (you can’t faff on tech aspects). List down metrics to identify bots for fraud (click in my case – links and images). (Q8)

7) Sample metrics/mechanisms to detect: Originating IP of request is same for all suspicious clicks in a day; there will be a pattern in the time to trigger a click after the page fully loads (API request is completed); mouse click always happens at the same end-point on the image on the screen; cursor moves in a straight line from point of origin to end point. (Q9)

8) Do a feasibility analysis of the case submitted while applying for the job. List down why you think the feature will work and why it might not work. Through a tree diagram explain different possible scenarios and how you will overcome the problematic scenarios. Drive home your point by providing assumptions and estimates of the output you claim to achieve through the feature. (Q13)

9) Cart abandonment is a popular case scenario for PM roles. Firstly, draw the user journey from purchase intent to purchase on the app/website. Understand user motivation at each step.
*Identify the step at which the cart being abandoned.
*Upon reaching an agreement with the interviewer on the step list down possible reasons why cart could be abandoned at this step.
(*are the steps at which interviewer wanted SQL queries)
While listing each factor/reason, explain why you think so. There will be cross questioning on this. (Q14)

10) At the end ask some question that will stand out. Easiest way is to make sure the interviewer is made to think to answer the question. This there will most likely be a follow-up comment and couple of minutes of discussion.

Skills evaluated in this interview

Top Directi Product Manager Interview Questions and Answers

Q1. Algorithms: Write an algorithm to list elements of a Fibonacci series; There are two unsorted arrays (with no repeating elements) – find the median of the combined array (use a 3rd array if you wish). Find the median of the combined array w... read more
View answer (1)

Product Manager Interview Questions asked at other Companies

Q1. You see the number of people cancelling the order increasing. Cancel window 24 hours. What would you do?
View answer (26)

I was interviewed in Jan 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

There were 2 coding questions. All of them were pretty easy and solvable in less than 40 minutes. Some string and pattern matching + some number theory problems were there.

  • Q1. 

    Maximum Product Subarray Problem Statement

    Given an array of integers, determine the contiguous subarray that produces the maximum product of its elements.

    Explanation:

    A subarray can be derived from th...

  • Ans. 

    Find the contiguous subarray with the maximum product of elements in an array.

    • Iterate through the array and keep track of the maximum and minimum product ending at each index.

    • Update the maximum product by taking the maximum of current element, current element * previous maximum, current element * previous minimum.

    • Update the minimum product by taking the minimum of current element, current element * previous maximum, cu...

  • Answered by AI
  • Q2. 

    Postfix Expression Evaluation Problem Statement

    Given a postfix expression, your task is to evaluate the expression. The operator will appear in the expression after the operands. The output for each expr...

  • Ans. 

    Evaluate postfix expressions by applying operators after operands. Return result modulo (10^9+7).

    • Iterate through each character in the postfix expression

    • If character is an operand, push it onto the stack

    • If character is an operator, pop two operands from stack, apply operator, and push result back

    • Repeat until end of expression, return final result modulo (10^9+7)

  • Answered by AI
Round 2 - Face to Face 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Hard

This was a technical round. First after properly introducing ourselves(me and the interviewer), we started with the main interview. I was asked 2 questions, one DS and Algorithms and the other System Design question.

  • Q1. 

    Problem Statement: Sibling Nodes

    You are provided with a Binary Tree consisting of 'N' nodes, where each node holds an integer value. Your objective is to identify and list all nodes that do not possess a...

  • Ans. 

    Identify and list nodes in a Binary Tree that do not have a sibling.

    • Traverse the Binary Tree in level order to identify sibling nodes.

    • Keep track of nodes without siblings and output them in ascending order.

    • Handle cases where nodes have only one child or no children.

    • Consider the root node as a sibling node.

    • Sort the output list of nodes without siblings in ascending order.

  • Answered by AI
  • Q2. 

    Merge Overlapping Intervals Problem Statement

    Given a specified number of intervals, where each interval is represented by two integers denoting its boundaries, the task is to merge all overlapping interv...

  • Ans. 

    Merge overlapping intervals and return sorted list of merged intervals.

    • Identify overlapping intervals based on start and end times

    • Merge overlapping intervals to form new intervals

    • Sort the merged intervals in ascending order of start times

  • Answered by AI
  • Q3. Design a streaming service similar to Netflix and explain how it onboard new content.
  • Ans. 

    Design a streaming service like Netflix and explain content onboarding process.

    • Create a user-friendly dashboard for content providers to submit new content.

    • Implement a review process to ensure quality and compliance with guidelines.

    • Use algorithms to categorize and recommend new content to users based on their preferences.

    • Negotiate licensing deals with production companies to acquire new content.

    • Regularly update the lib

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Malaviya National Institute of Technology Jaipur. I applied for the job as SDE - Intern in BangaloreEligibility criteriaNo criteriaDirecti interview preparation:Topics to prepare for the interview - DSA, DBMS, Operating systems, object oriented programming, stacks and queues, linked list, graph algorithmsTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Make sure to solve the most recommended problems of LeetCode. Around 200 will do
Tip 2 : Be confident with your basics of chapters from Operating Systems and DBMS or SQL Queries.
Tip 3 : Have a slight knowledge of system designing concepts.

Application resume tips for other job seekers

Tip 1 : Make your Resume such that it is properly readable. Keep it of one page. If it exceeds try your best to include only the most important highlights.
Tip 2 : Put your most important achievements at the top and after than the not so important ones. You want the interviewer to see them first.

Final outcome of the interviewSelected

Skills evaluated in this interview

Software Developer Intern Interview Questions asked at other Companies

Q1. Sum of Maximum and Minimum Elements Problem Statement Given an array ARR of size N, your objective is to determine the sum of the largest and smallest elements within the array. Follow Up: Can you achieve the above task using the least numb... read more
View answer (5)

I was interviewed before Sep 2020.

Round 1 - Video Call 

(1 Question)

Round duration - 60 minutes
Round difficulty - Medium

It was problem solving round.
Questions revolve around solving problems in javascript.
Like deep flattened the array, print level wise elements of same problem.

  • Q1. 

    Occurrence of X in a Sorted Array Problem Statement

    Given a sorted array of integers of size N and an integer X, determine the total number of occurrences of X in the array.

    Input:

    The first line of the...
  • Ans. 

    Count occurrences of a given integer in a sorted array.

    • Use binary search to find the first and last occurrence of X in the array.

    • Calculate the total occurrences by subtracting the indices and adding 1.

    • Handle edge cases like X not present in the array.

    • Time complexity can be O(log N) using binary search.

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

There were 2 problems, related to DS and Algorithms.

  • Q1. 

    Leaf Nodes Retrieval from Binary Tree

    Given a binary tree, implement a function that returns a list of leaf nodes following their appearance from left to right. If leaf nodes are equidistant from the left...

  • Ans. 

    Implement a function to retrieve leaf nodes from a binary tree in left-to-right order.

    • Traverse the binary tree in a depth-first manner, keeping track of leaf nodes encountered.

    • Store leaf nodes in a list while traversing the tree.

    • If leaf nodes are equidistant from the leftmost node, prefer the node at a lesser depth.

    • Return the list of leaf nodes in the order they appear from left to right.

  • Answered by AI
  • Q2. 

    Exclusive Time of Functions

    We are executing a program containing 'N' functions on a single-threaded CPU. Each function has a unique 'ID' between 0 and (N-1). Each time a function starts or ends, a log is...

  • Ans. 

    Calculate exclusive time of functions based on logs of function start and end times.

    • Parse the input logs to calculate exclusive time for each function ID.

    • Use a stack to keep track of function start times and calculate exclusive time when function ends.

    • Iterate through the logs and update exclusive time for each function ID accordingly.

  • Answered by AI
Round 3 - Face to Face 

Round duration - 60 Minutes
Round difficulty - Medium

Round 4 - Face to Face 

Round duration - 60 minutes
Round difficulty - Medium

Round 5 - Face to Face 

Round duration - 15 minutes
Round difficulty - Easy

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in BangaloreEligibility criteriaNo criteria, good to have development projects on Github.DirectI interview preparation:Topics to prepare for the interview - Debouncing, Throttling, Pollyfills of mainly array functions. Redux store like arch for machine coding rounds, prototyping Nodejs engine.Time required to prepare for the interview - 1 monthInterview preparation tips for other job seekers

Tip 1 : Develop a lots of projects with medium complexity [around 5-8].
Tip 2 : Develop projects using css, js html to practice machine coding round under time constraints
Tip 3 : Prepare mostly asked interview questions in JS.

Application resume tips for other job seekers

Tip 1: Keep resume only 1 page, don't keep your college at top of resume unless you are from tier 1 and good academic record [I keep at last , though from tier 1 college but poor academic record] .
Tip 2: Write projects, interns and what impact you made, don't waste lines about project.

Final outcome of the interviewSelected

Skills evaluated in this interview

Top Directi Software Developer Interview Questions and Answers

Q1. Duplicate Elements in Array You are provided with an array or list called ARR, consisting of N integers. These integers fall within the range from 0 to N - 1. Some elements in this array may appear more than once. Your task is to identify a... read more
View answer (1)

Software Developer Interview Questions asked at other Companies

Q1. Maximum Subarray Sum Problem Statement Given an array of integers, determine the maximum possible sum of any contiguous subarray within the array. Example: Input: array = [34, -50, 42, 14, -5, 86] Output: 137 Explanation: The maximum sum is... read more
View answer (42)

I was interviewed in Dec 2017.

Interview Preparation Tips

Round: Test
Experience: 1) 2D dp question
2) prim's algorithm
3) 3D dp question
Tips: need to solve all 3 question to get shortlisted.
22 students shortlisted

Round: Technical Interview
Experience: Online Skype Round

Round: Technical + HR Interview
Experience: This was the worst round because it was the skype round and there was communication problem. The interview started with summer intern project discussion and I required
to draw some diagrams to explain him and it was really difficult to explain him through the poor communication but he somehow got the idea of project.
He asked there are 2 type of transactions in bank credit and debit, He asked how will you model the total amount of money available at bank..(Threading question based
on syncronisation) he asked me to do in JAVA but I told him that I know c++ only, he told me to build in c++ but he wasn't seems to be satistfied fully however he said
its alright.
Then he gave me real confusing problem ---> we are given a huge data of points in 2D points and this point can be floating points. Now you are given queries where you are given a rectangle and you need to output the
all the points inside that rectangle.I proceeded by making buckets in x-axis and then for each bucket along x axis,(I further bucketed along the y-axis, he also helped me a bit in that. )
Then he told he was done and if I had any question- I asked how the team is decided and what is general strength of team and how to switch(15 min discussion.)
I thought that I did fine but may be CV and branch was the weak point as directi is very selective but very few reached the final round, they selected only 2 students but
really good company to work in

College Name: IIT Guwahati

Platform Engineer Interview Questions asked at other Companies

Q1. Palindrome Linked List Problem Statement You are provided with a singly linked list of integers. Your task is to determine whether the given singly linked list is a palindrome. Return true if it is a palindrome, otherwise return false. Exam... read more
View answer (1)

Interview Questions & Answers

user image Anonymous

posted on 11 Mar 2015

Interview Questionnaire 

6 Questions

  • Q1. Maximum Sum SubArray Problem
  • Ans. 

    Maximum Sum SubArray Problem is to find the contiguous subarray within a one-dimensional array of numbers which has the largest sum.

    • The problem can be solved using Kadane's algorithm in O(n) time complexity.

    • Initialize two variables, max_so_far and max_ending_here, to 0.

    • Loop through the array and for each element, add it to max_ending_here.

    • If max_ending_here becomes negative, reset it to 0.

    • If max_so_far is less than max...

  • Answered by AI
  • Q2. You are given a n*n matrix having 1's an 0's in them an given an integer k. You have to find a rectangular region such that it has k 1's in it
  • Ans. 

    Find a rectangular region in a binary matrix with k 1's.

    • Iterate over all possible rectangular regions and count the number of 1's in each.

    • Use a sliding window approach to efficiently count the number of 1's in each rectangular region.

    • Use dynamic programming to precompute the number of 1's in each sub-rectangle and answer queries in constant time.

  • Answered by AI
  • Q3. NonConsecutive Maximum Sum problem
  • Ans. 

    Find the maximum sum of non-consecutive elements in an array.

    • Create an array to store the maximum sum up to each index.

    • Iterate through the array and calculate the maximum sum at each index.

    • Return the maximum sum at the last index of the array.

    • Exclude consecutive elements by skipping the previous index in the sum calculation.

  • Answered by AI
  • Q4. Given an array. Find indices i and j such that A[i]>a[j] and i>j such that ij is minimum
  • Ans. 

    Find indices i and j such that A[i]>a[j] and i>j such that ij is minimum

    • Iterate through the array and keep track of the minimum value and its index

    • Iterate through the array again and check if A[i]>min and i

    • If yes, update the minimum index to j

    • Return the minimum index

    • Time complexity: O(n)

  • Answered by AI
  • Q5. Finding majority element in an array
  • Ans. 

    Finding majority element in an array

    • Use a hash table to store the frequency of each element

    • Iterate through the hash table to find the element with frequency greater than n/2

    • If no such element exists, return -1

  • Answered by AI
  • Q6. Find any duplicate number in an array of very big size
  • Ans. 

    Find any duplicate number in an array of very big size

    • Use a hash table to keep track of visited numbers

    • Iterate through the array and check if the number is already in the hash table

    • If it is, return the number as duplicate

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: Technical round was more of a coding round. They asked us to create login at codechef.com and uploaded two problems,out of which we were supposed to do one.
Duration: 120 minutes

Round: Technical Interview
Experience: Technical interview consisted mostly of Algo questions. Apart from that simple questions from OOPS(Inheritance,Polymorphism,Virtual Function), DBMS(like design of tables for a specific scenario,ACID properties), Networks(TCP/UDP Protocol) and OS(Multithreading) were asked. Coming to the Algo questions, most of them were the ones we saw at CAREERCUP.COM.

Round: HR Interview
Experience: The HR interview was not all that a serious one. Usual HR questions were asked like Tell me about yourself,Your ambition etc. The interviews were interesting and I enjoyed them throughly. But the whole process gets pretty  hectic. In 2 days, I just got 56 hrs to sleep.

Skill Tips: 1. Start coding at online coding competitions. 
2. Prepare all questions from CAREERCUP.COM. 
3. Be prepared with basic fundas in OS,Networks,DBMS and OOPS. 
4. Be confident and don't get stressed by continuous interviews.
College Name: NIT WARANGAL

Skills evaluated in this interview

Interview Preparation Tips

General Tips: Strong Coding Skills and basic computer Knowledge is a must. Make sure you are good in these. Basically they are looking for people with problem solving abilities.
Skills: Problem Solving Qualities
College Name: IIT KHARAGPUR

Top Directi Software Developer Interview Questions and Answers

Q1. Duplicate Elements in Array You are provided with an array or list called ARR, consisting of N integers. These integers fall within the range from 0 to N - 1. Some elements in this array may appear more than once. Your task is to identify a... read more
View answer (1)

Software Developer Interview Questions asked at other Companies

Q1. Maximum Subarray Sum Problem Statement Given an array of integers, determine the maximum possible sum of any contiguous subarray within the array. Example: Input: array = [34, -50, 42, 14, -5, 86] Output: 137 Explanation: The maximum sum is... read more
View answer (42)

Interview Preparation Tips

Round: Test
Experience: There is a drought situation in Agrabah.King got worried and called Aladdin for helping him out. 
As he is a modern Aladdin he took printouts of places around Agrabah from google maps.For 
analyzing the map properly, he converted the map into a M x N grid. Each point is represented 
by either ‘0’ or ‘1’.
‘1’ represents the unit area of water and ‘0’ represents the unit area of land. King told him to find 
the largest continuous patch of water so that he can send his people over there.
As our Aladdin is modern, but not a good programmer, he wants your help. Help him out by 
printing out the largest area water patch available on map.


Round: Phone interview
Experience: 1)There are three types of balls arranged linearly in a random order Red, Green and Blue. Now 
your job is to sort them so that the Red balls are in front follwed by the Green balls and the Blue 
balls are pushed to the bask.
This problem was the same as sorting the array of 0, 1 and 2. we  can do this in o(n) 
using two pointers.
2)Given an n x n matrix, where every row and column is sorted in increasing order. Given a 
number x, how to decide whether this x is in the matrix. The designed algorithm should have 
linear time complexity.
a) Start with top right element
b) Loop: compare this element e with x
 i) if they are equal then return its position
 ii) e < x then move it to down (if out of bound of matrix then break return false)
 iii) e > x then move it to left (if out of bound of matrix then break return false)
c) repeat the i), ii) and iii) till you find element or returned false
3)In the same matrix mentioned above find the kth maximum element.
I said that we just need to compare the last K x K sub matrix and to find the Kth element.
4)Given a set of integers, Display the non­empty subsets whose sum is zero. For example, 
given the set { −7, −3, −2, 5, 8}, the answer is the subset { −3, −2, 5} which  sums to zero.
This is the special case of knapsack problem and hence it is NP­Complete so i said we 
cannot find the solution in polynomial time.We consider all the subsets with k elements. Then 
check how many of these sets have a sum of 0. This is an exponential time algorithm.
5)Create a data structure where inserting, deleting and finding the minimum element all have 
O(1) time.
i said we can use augmented stack where with each element we can augment the 
minimum element along with its actual value.Then he said “what if you cannot create any new 
data structure but have to use only the previously available data structures?” I replied that then 
we can use two stacks one to store the actual data and other to store the minimum values.

Skills:
College Name: Anna University Chennai

Application Developer Interview Questions asked at other Companies

Q1. Minimum Cost to Connect All Points Problem Statement Given an array COORDINATES representing the integer coordinates of some points on a 2D plane, determine the minimum cost required to connect all points. The cost to connect two points, (x... read more
View answer (2)
Contribute & help others!
anonymous
You can choose to be anonymous

Directi Interview FAQs

How many rounds are there in Directi interview?
Directi interview process usually has 3-4 rounds. The most common rounds in the Directi interview process are One-on-one Round, Resume Shortlist and Coding Test.
How to prepare for Directi interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Directi. The most common topics and skills that interviewers at Directi expect are Communication Skills, Client Support, Product Support, Program Management and Technical Support.
What are the top questions asked in Directi interview?

Some of the top questions asked at the Directi interview -

  1. 2)Given an n x n matrix, where every row and column is sorted in increasing ord...read more
  2. Suppose there are ‘n’ trees (literal trees, not trees of computer science, ...read more
  3. 4)Given a set of integers, Display the non-empty subsets whose sum is zero. For...read more

Recently Viewed

INTERVIEWS

Directi

No Interviews

INTERVIEWS

Publicis

No Interviews

INTERVIEWS

Eversendai

No Interviews

INTERVIEWS

Eversendai

No Interviews

INTERVIEWS

Publicis

No Interviews

INTERVIEWS

Eversendai

No Interviews

INTERVIEWS

Credgenics

No Interviews

INTERVIEWS

Birdeye

No Interviews

INTERVIEWS

Publicis

No Interviews

Tell us how to improve this page.

Directi Interview Process

based on 6 interviews

Interview experience

3.7
  
Good
View more

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.5k Interviews
Infosys Interview Questions
3.6
 • 7.7k Interviews
Wipro Interview Questions
3.7
 • 5.7k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.9k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
Mphasis Interview Questions
3.4
 • 812 Interviews
Zoho Interview Questions
4.3
 • 516 Interviews
CitiusTech Interview Questions
3.4
 • 269 Interviews
View all

Directi Reviews and Ratings

based on 59 reviews

4.1/5

Rating in categories

3.8

Skill development

3.8

Work-life balance

4.2

Salary

3.7

Job security

4.1

Company culture

3.6

Promotions

3.7

Work satisfaction

Explore 59 Reviews and Ratings
Software Development Engineer II
13 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Software Engineer
11 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Product Manager
11 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Engineer
9 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Developer
9 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Directi with

Zoho

4.3
Compare

TCS

3.7
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview