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 - 1

HashedIn
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Java, C, C++, HTML, CSS, Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Must do previously Asked Interview Questions.
Tip 2 : Prepare OS, DBMS, OOPs, and Computer Networks well.
Tip 3 : Prepare well for one project mentioned in the resume, the interviewer may ask any question related to the project, especially about the networking part of the project.

Application process
Where: Linkedin
Eligibility:
Resume Tip
Resume tip

Tip 1 : Have at least one project on the resume.
Tip 2 : Must mention every skill and certificate in the resume.
Tip 3 : Must have known every strong and intermediate skill mentioned in the resume.
Tip 4 : Do not include technologies/skills that you've not worked on at all. It can blow the interview if the interviewer questions you about it.

Interview rounds

01
Round
Easy
Online Coding Test
Duration60 minutes
Interview date7 Jul 2022
Coding problem2

This was the first technical round completely based on the data structures and algorithms and computer fundamentals.

1. Longest Sub-string with at most K Distinct Characters

Moderate
35m average time
65% success
0/80
Asked in companies
GoogleAmazonSAP Labs

You are given string S of length N, and an integer K. Your task is to find the length of the longest substring that contains at most K distinct characters.

Problem approach

Use Map data structure with string keys (single characters of the input string).

Inside the for loop check whether the current character has already appeared. If not, just increase the currMaxLen counter by one. Otherwise, if it has appeared earlier and the difference between their 1-based index values loc - prev_loc is less or equal than the current max substring length, the counter mus...

View more
Try solving now

2. Spiral Matrix

Easy
0/40
Asked in companies
Tata Consultancy Services (TCS)CurefitGoldman Sachs

You are given a N x M matrix of integers, print the spiral path of the matrix.

For example:

Spiral Path

Problem approach

class Solution {
public:
vector spiralOrder(vector>& matrix) {
int m = size(matrix), n = size(matrix[0]), sz = m*n;
vector ans(sz);
int r0 = 0, r1 = m-1, c0 = 0, c1 = n-1, r = 0, c = 0;
for (int i = 0, flag = 0; i < sz; flag = (flag+1) % 4) {
if (flag == 0) {
for (c = c0; c <= c1; c++)
ans[i++] = matrix[r][c];
r0++, c--;
} else if (flag == 1) {
f...

View more
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date8 Jul 2022
Coding problem1

This was 2nd technical round taken by the senior software engineer at HashedIn. This round was based on the system design of Facebook.

1. System Design

Design a clone system for facebook

Problem approach

Practice system Designing

03
Round
Easy
HR Round
Duration30 minutes
Interview date20 Jul 2022
Coding problem1

This was the HR round taken by the hiring manager of the company.

1. Basic HR Questions

Tell me about yourself
Tell me about the most challenging project
Tell me about the basic pillars of OOPs
What has been your greatest failure? 
What do you always regret?
How do you respond to change?
Greatest challenging project
How do you handle stress
How will you resolve conflict with the Manager

Problem approach

Tip 1 : Make sure your resume is up-to-date
Tip 2 : Be confident and focus on your communication
Tip 3 : Prepare for the behavioral questions

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 - 1
4 rounds | 8 problems
Interviewed by HashedIn
532 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by HashedIn
438 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by HashedIn
442 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by HashedIn
24 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
1 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
5277 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
4448 views
3 comments
0 upvotes