Daffodil Software interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

Daffodil Software
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
As Daffodil visited our campus so they have taken a coding test in our college labs. In that test, they have given us two coding problems which we have to solve within 1 hour. We have to do this problem on the hacker earth platform. We have to write the whole code by ourselves there is no main function provided.
Application story
As Daffodil visited our campus so they have taken a coding test in our college labs. In that test, they have given us two coding problems which we have to solve within 1 hour. We have to do this problem on the hacker earth platform. We have to write the whole code by ourselves there is no main function provided.
Why selected/rejected for the role?
As Daffodil visited our campus so they have taken a coding test in our college labs. In that test, they have given us two coding problems which we have to solve within 1 hour. We have to do this problem on the hacker earth platform. We have to write the whole code by ourselves there is no main function provided.
Preparation
Duration: 3
Topics: DBMS, SQL, DSA, OOPS, JAVA, Operating system
Tip
Tip

Tip 1 : Be confident
Tip 2 : Be clear about your answer

Application process
Where: Campus
Eligibility: 7
Resume Tip
Resume tip

Tip 1 : Have covered all topics which mentioned in resume
Tip 2 : Be clear about your answer

Interview rounds

01
Round
Easy
Online Coding Interview
Duration45
Interview date8 Dec 2022
Coding problem2

This round has a coding round where i have to solved two questions.

1. Trapping Rain WaterThis is related to cards we have given 5 cards with their suits and we have to print yes if they all are consecutive and are from at least 2 suits otherwise we have to print No.

Moderate
15m average time
80% success
0/80
Asked in companies
RazorpayMorgan StanleyUber

You have been given a long type array/list 'arr’ of size 'n’.


It represents an elevation map wherein 'arr[i]’ denotes the elevation of the 'ith' bar.



Note :
The width of each bar is the same and is equal to 1.
Example:
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].

Output: 10

Explanation: Refer to the image for better comprehension:

Alt Text

Note :
You don't need to print anything. It has already been taken care of. Just implement the given function.
Problem approach

I was able to solve both problems within 20-25 minutes.

Try solving now

2. Day 8 : Second largest element in the array

Easy
15m average time
80% success
0/40
Asked in companies
Info Edge India (Naukri.com)OracleHCL Technologies

He told me to open any online editor I have opened code chef for this and did this question within a couple of minutes
After this he asks me to dry run can he also gave me an input array and ask me to run this and show me the output
After this question, he gave me another question

Problem approach

Tip 1 : Be confident 
Tip 2 : Be clear about your answer

Try solving now
02
Round
Easy
Face to Face
Duration45
Interview date8 Dec 2022
Coding problem2

After around 1-2 hours I got a call from my TPO to come for a technical interview. And the result was like the students who were able to solve 1.5 questions got an interview call.

1. Given a matrix find the sum of both of its diagonals and an element should be considered only once.

Easy
23m average time
75% success
0/40
Asked in companies
SamsungMicrosoftAmazon

Given a Binary Tree of 'N' nodes, find and print a list containing the sums of all the diagonals. When calculating the sum of each diagonal, consider the diagonals from right to left.

Diagonals of the binary tree are :

alt-text

There are three diagonals :

Diagonal 1 : 8 10 14

Diagonal 2 : 3 6 7 13

Diagonal 3 : 1 4

Example :

For the given binary tree : 

alt-text

Output : 24 14 2

Explanation: Rightmost diagonal contains elements {5, 10 , 9} its sum is 24, middle diagonal contains elements {6, 3, 5} its sum is 14, leftmost diagonal contains elements {2}. Thus the answer should be “24 14 2”.
Problem approach

Firstly I have done this by taking two traversals of the matrix and after this, he ask me to do this in 1 traversal
After this, I have done this in 1 traversal and he ask me to dey run this and gave me an input matrix and ask me to run and show me the output.
After this, he was satisfied with both the questions and told me that I can leave now.
This is all about the technical interviews.

Try solving now

2.

This is related to cards we have given 5 cards with their suits and we have to print yes if they all are consecutive and are from at least 2 suits otherwise we have to print No.

Problem approach

Tip 1 : Be confident 
Tip 2 : Be clear about your answer

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
Software Developer
1 rounds | 2 problems
Interviewed by Daffodil Software
1179 views
0 comments
0 upvotes
company logo
Software Developer
2 rounds | 3 problems
Interviewed by Daffodil Software
1431 views
0 comments
0 upvotes
company logo
Software Developer
2 rounds | 4 problems
Interviewed by Daffodil Software
1606 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 8 problems
Interviewed by Daffodil Software
994 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Arcesium
3688 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Arcesium
2650 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by BNY Mellon
2324 views
0 comments
0 upvotes