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

SDE - 1

DTCC
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I started my coding journey on YouTube, where I first learned the data structure and Algorithm. Then, I started my preparation of Data Structure on the LinkedIn.
Application story
I applied through referral.
Why selected/rejected for the role?
I was rejected because I could not give precise and optimized solutions to the questions asked.
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming,System Design, Link List and Graphs
Tip
Tip

Tip 1: Practice at least 250 Questions.
Tip 2: Do at least 2 projects.

Application process
Where: Referral
Eligibility: Above 6 CGPA
Resume Tip
Resume tip

Tip 1 : Have some projects on resume.
Tip 2: Do not put false things on resume

Interview rounds

01
Round
Easy
Video Call
Duration60 mins
Interview date23 Feb 2023
Coding problem2

1. Puzzle

Imagine a group of people meeting each other for the first time, and in keeping with protocol, each person must greet and elbow bump every other person once. If there were seven people in the group, how many elbow bumps would occur in total? Also, outline as a short note in the comment section the process you used to come to this conclusion.

Problem approach

Person 1 had to bump elbows with 6 people. Person 2 has to bump elbows with 5 people since he already bumped elbows with Person 1, and so on. Therefore, the total number of elbow bumps will be 6+5+4+3+2+1 i.e. n*(n-1)/2 and n is the total number of people present. So, the final answer is 21.

2. Merge Two Sorted Arrays

Moderate
15m average time
85% success
0/80
Asked in companies
HSBCHikeAmazon

Ninja has been given two sorted integer arrays/lists ‘ARR1’ and ‘ARR2’ of size ‘M’ and ‘N’. Ninja has to merge these sorted arrays/lists into ‘ARR1’ as one sorted array. You may have to assume that ‘ARR1’ has a size equal to ‘M’ + ‘N’ such that ‘ARR1’ has enough space to add all the elements of ‘ARR2’ in ‘ARR1’.

For example:

‘ARR1’ = [3 6 9 0 0]
‘ARR2’ = [4 10]
After merging the ‘ARR1’ and ‘ARR2’ in ‘ARR1’. 
‘ARR1’ = [3 4 6 9 10]
Problem approach

Sahil has been given two sorted integer arrays/lists ‘ARR1’ and ‘ARR2’ of size ‘M’ and ‘N’. Ninja has to merge these sorted arrays/lists into ‘ARR1’ as one sorted array. You may have to assume that ‘ARR1’ has a size equal to ‘M’ + ‘N’ such that ‘ARR1’ has enough space to add all the elements of ‘ARR2’ in ‘ARR1’.

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date23 Feb 2023
Coding problem2

1. Check Identical Trees

Moderate
20m average time
85% success
0/80
Asked in companies
MicrosoftDisney + HotstarHike

You are given two binary trees with 'n' and 'm' nodes respectively.


You need to return true if the two trees are identical. Otherwise, return false.


Example:
For the trees given below:- 

example

The given trees are identical as:-
1. The number of nodes in both trees is the same. 
2. The number of edges in both trees is the same. 
3. The data for root for both the trees is the same i.e 5. 
4. The data of root -> left (root’s left child) for both the trees is the same i.e 2.
5. The data of root -> right (root’s right child) for both the trees is the same i.e 3.
6. The data of root -> right -> left ( left child of root’s right child) for both the trees is the same i.e 6.
7. Nodes with data 2 and 6 are the leaf nodes for both the binary trees. 
Problem approach

You are given two binary trees with 'N' and 'M' nodes respectively. You need to return true if the two trees are identical. Otherwise, return false.

Try solving now

2. Ninja and characters

Easy
15m average time
80% success
0/40
Asked in companies
Nagarro SoftwareInnostax Software LabsWatchGuard Technologies

Ninja loves playing with characters. So one day, he wants to arrange a few characters in the ‘N’ number of rows. The first row contains 1 character, the second row has two characters, the third row has 3 characters, and so on.

Ninja starts placing characters in increasing order, with an absolute difference of 1, starting from A and can go up to Z only.

You are given an integer ‘N’ denoting the given number of rows. Can you print the pattern Ninja wants to create?

Pattern for N = 3

A
BB
CCC
Try solving now

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
SDE - 1
3 rounds | 6 problems
Interviewed by DTCC
991 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by DTCC
869 views
0 comments
0 upvotes
Associate Software Developer
3 rounds | 5 problems
Interviewed by DTCC
1114 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by DTCC
1477 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes