Hindustan Times Media Ltd interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Hindustan Times Media Ltd
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Journey
I completed my Master in Computer Science from LPU. Right from the first year, I started learning Java and DSA from GeeksofGeeks. I emphasized more on Competitive coding and used to participate in a lot of coding tests. I was pretty confident on my skills.
Application story
I got a message in my Whatsapp group about the company visiting our campus to hire SDE-Intern. As, It was the peak season for Hiring, it was sure that I was going to apply for it. I started preparing accordingly for it.
Why selected/rejected for the role?
I was selected because I had prepared very well for the interviews. I was able to answer all questions efficiently. Interviewer was very impressed by my method of approaching solutions.
Preparation
Duration: 2 Months
Topics: Data structures and Algorithms, Machine learning , Object-Oriented Programming System, Competitive Programming, and Operating systems.
Tip
Tip

Tip 1 : Explain your approach to the interviewer properly by giving examples as it will be more clear to the interviewer. 

Tip 2 : Also, practice lot of graph-based questions as it is the most important interview topic. 

Tip 3 : You can refer to Geeks For Geeks or Coding Ninjas as these were preferred by me mostly while preparing for interviews.

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

Tip 1 : Add only those skills which you are pretty confident 

Tip 2 : try to make resume of one page only.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration120 Minutes
Interview date5 Jan 2022
Coding problem2

This round was coding + MCQ’s round.MCQ’s were easy and coding questions were of medium level.

1. Is It A Tree?

Moderate
20m average time
75% success
0/80
Asked in companies
Goldman SachsUrban Company (UrbanClap)CIS - Cyber Infrastructure

Given a graph with 'V' vertices numbered from 0 to 'V' - 1 and 'E' edges. Determine if it is a tree or not?

Try solving now

2. Coin Change(Finite Supply)

Hard
0/120
Asked in companies
MicrosoftDisney + HotstarIBM

You are given an array of integers ‘coins’ denoting the denomination of coins and another array of integers ‘freq’ denoting the number of coins of each denomination.

You have to find the number of ways to make the sum ‘V’ by selecting some(or all) coins from the array.

The answer can be very large. So, return the answer modulo 1000000007.

For Example :
‘N’ = 3, ‘coins’ = {1, 2, 3}, ‘freq’ = {1, 1, 3}, ‘V’ = 6

For the given example, we can make six by using the following coins:
{1, 2, 3}
{3. 3}
Hence, the answer is 2.
Try solving now
02
Round
Medium
Face to Face
Duration60 Minutes
Interview date5 Jan 2022
Coding problem1

This was face to face round and the interviewer asked me to tell approach first and then write code for that and after completing the code he also made me dry run the code on his given test cases.

1. Distinct Island

Moderate
25m average time
80% success
0/80
Asked in companies
SalesforceExpedia GroupMicrosoft

You are given a two-dimensional array/list of integers consisting of 0s and 1s. In the list, 1 represents land and 0 represents water.

The task is to find the number of distinct islands where a group of connected 1s(horizontally or vertically) forms an island.

Note:
Two islands are considered to be the same if and only if one island is equal to another(not rotated or reflected) i.e if we can translate one island on another without rotating or reflecting then it would be considered as the same islands. 
For example:
1 1 0
0 0 1
0 0 1

In this example, we have two islands and they would be considered as distinct islands as we can not translate them on one another even if they have the same no of 1's.
For example :
1 1 0 0 0 
1 1 0 0 0
0 0 0 1 1
0 0 0 1 1

In this example, we have two islands and they are the same as we can translate one island onto another island, so our answer should be 1.
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 the purpose of the return keyword?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4782 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
1011 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6543 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3566 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114869 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58031 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35057 views
7 comments
0 upvotes