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

SDE - 1

HashedIn
upvote
share-icon
4 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 Months
Topics: Data Structures, OOPS, System Design, Aptitude, Algorithms, DBMS, SQL
Tip
Tip

Tip 1 : Consistency is the Key
Tip 2 : Quantity of questions doesn't matter, quality does. 
Tip 3 : Get the concepts spot on and practice applying them on coding and system design questions.
Tip 4 : Practice, practice, practice...

Application process
Where: Referral
Eligibility: No active backlogs, good knowledge on data structures and system design.
Resume Tip
Resume tip

Tip 1 : Keep a one page resume with only the best things about yourself.
Tip 2 : Emphasize more on projects, work experience, coding platforms rating.
Tip 3 : Describe your projects and work experiences in detail, don't give one liners.

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 minutes
Interview date10 Feb 2021
Coding problem2

Test was in the afternoon, the platform was user friendly.

1. Reverse The Array

Easy
15m average time
85% success
0/40
Asked in companies
GartnerInfo Edge India (Naukri.com)HCL Technologies

Given an array/list 'ARR' of integers and a position ‘M’. You have to reverse the array after that position.

Example:

We have an array ARR = {1, 2, 3, 4, 5, 6} and M = 3 , considering 0 
based indexing so the subarray {5, 6} will be reversed and our 
output array will be {1, 2, 3, 4, 6, 5}.
Problem approach

I submitted a brut force solution and it passed all the cases.

Try solving now

2. Merge Two Sorted Linked Lists

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

You are given two sorted linked lists. You have to merge them to produce a combined sorted linked list. You need to return the head of the final linked list.

Note:

The given linked lists may or may not be null.

For example:

If the first list is: 1 -> 4 -> 5 -> NULL and the second list is: 2 -> 3 -> 5 -> NULL

The final list would be: 1 -> 2 -> 3 -> 4 -> 5 -> 5 -> NULL
Problem approach

I solved it using brut force approach and it passed all the test cases.

Try solving now
02
Round
Easy
Face to Face
Duration60 Minutes
Interview date13 Feb 2021
Coding problem2

It was a face to face with one interviewer.
The interview took place in google meets.

1. Reverse string Word Wise

Moderate
0/80
Asked in companies
IBMIONBirdEye

Reverse the given string word wise. That is, the last word in given string should come at 1st place, last second word at 2nd place and so on. Individual words should remain as it is.

Problem approach

I first gave a brut force solution by iterating the entire string and stored all the individual words and formed another string in reverse order.
Interviewer was satisfied and asked me to code.
After coding he asked to optimize it if I can without storing each word.
then I gave this solution, go through the string and mirror each word in the string, then, in the end, mirror the whole string.
He was satisfied with the approach and didn't ask me to code.

Try solving now

2. Check for Mirror Trees

Moderate
0/80
Asked in companies
AmazonMicrosoftHashedIn

While learning DSA, Ninja found two N-ary trees and wants to check whether they are mirror images of each other or not. But, he can’t find a suitable method to check the same. Can you help Ninja to solve this problem?

You are given two N-ary trees, ‘TREEA’ and ‘TREEB’ having ‘N’ vertices labeled from 0 to ‘N’-1, and both the trees are rooted at node 0. Your task is to find whether the trees are mirror images of each other or not. Edges of the tree are in order from left to right.

For Example:
For the given example below, the trees are mirror images of each other.

Example

Problem approach

I gave him a recursive Inorder traversal approach, he was satisfied with the solution and didn't ask me to code.

Try solving now
03
Round
Easy
Face to Face
Duration60 Minutes
Interview date28 Feb 2021
Coding problem1

It was a system design round.
There was only one interviewer.

1. System Design Question

Design a Snake and ladder game using oops.

Problem approach

Tip 1: Don't assume stuff, get clarity on the topic and expected solution, get clarity with all the edge cases of the question.
Tip 2: Use all the oops concepts efficiently.
Tip 3: Write a readable code with proper naming convention and indentations.

04
Round
Easy
HR Round
Duration30 mins
Interview date9 Mar 2021
Coding problem1

It was in the morning.
there was only one interviewer.

1. Basic HR questions

why Hashedin, where are you from, describe yourself, positives and negatives.

Problem approach

Tip 1: Know about the company, what it does and why do you want to join.
Tip 2: Know about the role you are applying and why you are a perfect fit to that role.
Tip 3: Prepare your introduction well, that drives your entire interview, say stuff that you are good at and keep the interviewer invested in you.

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by HashedIn
1267 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by HashedIn
1027 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by HashedIn
924 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by HashedIn
718 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6366 views
3 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by BNY Mellon
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
2198 views
0 comments
0 upvotes