Company Name: HackerEarth
Job Role: Problem Setter Intern
Years of Experience Required: NA
CTC: 40K per month
Topics: Data Structures and algorithms and competitive programming
Duration: 1-4 months
Source of Preparation: Practice on various coding websites like Codechef, Codeforces, Atcoder, HackerEarth, etc.
- Check Striver’s SDE Sheet for Interview Preparation.
- Check the ultimate resume building guide for coding interviews.
- Blind 75 Leetcode
HackerEarth Interview Rounds
Round 1: Online Coding Test
There are 3 Coding questions that I did not clearly remember. 2 of them are CF div2 B/C and 1 is CF div2 D(This question requires prime number theory and inclusion-exclusion principle).
Round 2: Video Call and Hackerearth’s FacePrep.
Topics asked: Data Structure and algorithms
Problems: 3 problems were asked
Problem Statement 1: A string is given. Find the number of substrings with the equal number of vowels(All 5).
Input : N = 6, S= “aeioua” Output: 2
Explanation: There are 2 substrings “aeiou” and “eioua” which contain an equal number of all vowels.
Problem Statement 2: A number N is given. Find the number of even factors of N!.
Input: N = 3 Output: 2
Explanation: Two even factors 2 and 6.
Problem Statement 3: Don’t exactly remember the problem. I solved it first with the o(NlogN) binary search and then changed it to O(N) two-pointer.
After this question they have asked me various questions from DSU, String Hashing, KMP and Graph algorithms.
Round 3 and 4: 2 rounds. 1 with the Team Lead of the problem setter team and 1 with the hiring manager.
Message to Aspiring Students:
If you have experience in competitive programming and have a deep knowledge of Data Structure and Algorithms you should try. Before the interview you should read the topics of DSA, they will ask you questions.