Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
HashedIn interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

HashedIn
upvote
share-icon
4 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Don't lie on Resume
Tip 2 : Study Data Structures & Algorithms well
Tip 3 : Study core subjects well

Application process
Where: Campus
Eligibility: 6.5 cgpa
Resume Tip
Resume tip

Tip 1: Keep the resume short
Tip 2: Mention only skills relevant to job

Interview rounds

01
Round
Medium
Online Coding Test
Duration100 mins
Interview date16 Nov 2022
Coding problem2

Three coding questions were asked from the topic of DP, Greedy and Bit manipulation

1. Fractional Knapsack

Easy
15m average time
85% success
0/40
Asked in companies
FlipkartMicrosoftSwiggy

You have been given weights and values of ‘N’ items. You are also given a knapsack of size ‘W’.

Your task is to put the items in the knapsack such that the total value of items ...

View more
Try solving now

2. Set Bits

Easy
15m average time
85% success
0/40
Asked in companies
FlipkartMicrosoftSwiggy

You have been given weights and values of ‘N’ items. You are also given a knapsack of size ‘W’.

Your task is to put the items in the knapsack such that the total value of items ...

View more
Try solving now
02
Round
Easy
Face to Face
Duration50 mins
Interview date21 Nov 2022
Coding problem2

The interviewer asked 2 coding questions that were of easy level.

1. Move Zeroes To End

Moderate
30m average time
70% success
0/80
Asked in companies
Harman InternationalInfosysThought Works

Given an unsorted array of integers, you have to move the array elements in a way such that all the zeroes are transferred to the end, and...

View more
Problem approach

Step 1 : I first applied bubble sort. It was not good enough.
Step 2 : Interviewer asked me to optimise the solution.
Step 3 : I counted all zeros and and stored it in a count variable . In second iteration, shifted all other non zero numbers in and pushed the 0's count no of times at the end of array.

Try solving now

2. Number Of Pairs With Given Sum

Moderate
39m average time
60% success
0/80
Asked in companies
AmazonSamsungCisco

You have been given an integer array/list(arr) and a number 'Sum'. Find and return the total number of pairs in the array/list which when added, results equal to the 'Sum'.

Note:
...
View more
Problem approach

Step 1 : I first used nested for loop approach.It was not good enough.
Step 2 : Interviewer asked me to optimise the solution.
Step 3 : Then used the sort method (two pointer) to solve interviewer was happy.

Try solving now
03
Round
Medium
Face to Face
Duration75 mins
Interview date21 Nov 2022
Coding problem2

Asked me to Design the database of gmail. Asked me concepts about normalization and told to normalize my tables. After doing so he asked me 5 queries related to topics like inner joins, group by, aggregation, order by, limits . I was able to answer all of them correctly. Asked me in depth about one of my project.

1. Trapping Rain Water

Moderate
15m average time
80% success
0/80
Asked in companies
GoogleGrabSAP Labs

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


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

View more
Problem approach

Gave a brute force approach and explained the approach correctly. The interviewer didn't asked to optimize the solution he just wanted one approach.

Try solving now

2. Pattern: Triangle of numbers

Moderate
0/80
Asked in companies
DunzoHCL TechnologiesTata Consultancy Services (TCS)
Pattern for N = 4


The dots represent spaces.



Try solving now
04
Round
Easy
HR Round
Duration45 mins
Interview date21 Nov 2022
Coding problem1

Basic HR Questions

1. Basic HR Questions

Your strengths and weaknesses

Where do you see yourself in 5 years?

Here's your problem of the day

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

Is method overloading possible by changing the return type?

Start a Discussion
Similar interview experiences
company logo
SDE - Intern
4 rounds | 5 problems
Interviewed by HashedIn
672 views
0 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by HashedIn
581 views
0 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 6 problems
Interviewed by HashedIn
840 views
0 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 8 problems
Interviewed by HashedIn
564 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Arcesium
2817 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by Arcesium
1829 views
0 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 5 problems
Interviewed by BNY Mellon
1650 views
0 comments
0 upvotes