Upload Button Icon Add office photos

Filter interviews by

HackerRank Internship Trainee Interview Questions and Answers

Updated 13 Nov 2024

HackerRank Internship Trainee Interview Experiences

Interview questions from similar companies

Interview Preparation Tips

Round: Test
Experience: PAPER DURATION: 3 hours
NO. OF QUESTIONS: 2 (20 marks each)
MAXIMUM MARKS: 20*2 = 40 marksQUESTION 1:
JSON Prettier:-Write a program which takes JSON as input and gives prettified JSONYou need to read JSON from STDIN. Input gives one line of uglified JSON.Output should be formatted JSON. Check the standard output link.Use 2 white spaces (not‘\t’) for one indentation.SAMPLE INPUT:{“group” : {list : [1,2,3]}, “list” : [“a”,”b”,”c”]}SAMPLE OUTPUT:{“group” : {List : [1,2,3]},“list” : [“a”,”b”,”c”]}EXPLANATION: Input will be uglifiedjson in one line and output will be prettified format of that. QUESTION 2:XML parse plus series computationEvaluate an expression given in XML format. Keys will be Expr- contains the entire expression. Elem – contains the digit, sum, Prod- contains two or more keys whose evaluation needs to be summed or multiplied respectively. Sub will contain 2 keys or more, where the second key onwards will have to be subtracted from the first one. Div- will contain 2 keys in which first key will need to be divided by second. SAMPLE INPUT:4673 SAMPLE OUTPUT:
20EXPLANATION:Input will be xml file through standard input. End of xml file marked by .
Duration: 180 minutes
Total Questions: 2

College Name: NA

I applied via Company Website and was interviewed in Nov 2019. There was 1 interview round.

Interview Questionnaire 

3 Questions

  • Q1. 1- Kth node delete in linked list
  • Ans. 

    Deleting the Kth node in a linked list.

    • Traverse the linked list to the Kth node.

    • Update the previous node's next pointer to skip the Kth node.

    • Free the memory allocated to the Kth node.

    • Handle edge cases such as deleting the head or tail node.

  • Answered by AI
  • Q2. 2- reverse n th time linked list
  • Ans. 

    Reverse a linked list n times

    • Create a function to reverse a linked list

    • Loop through the linked list n times and reverse it each time

    • Return the final reversed linked list

  • Answered by AI
  • Q3. Dictionary in python
  • Ans. 

    A dictionary is a collection of key-value pairs in Python.

    • Keys must be unique and immutable.

    • Values can be of any data type.

    • Access values using keys.

    • Add or modify values using keys.

    • Delete key-value pairs using del keyword.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Basically focus on DSA for geeksforgeeks

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response

I applied via LinkedIn and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - Coding Test 

1 hr test on HackerEarth platform, DSA questions

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
-
Result
Not Selected

I applied via Telegram and was interviewed in Dec 2023. There were 2 interview rounds.

Round 1 - HR 

(2 Questions)

  • Q1. Tell me about yourself
  • Q2. What is the job culture of zopsmart
  • Ans. 

    The job culture at Zopsmart is collaborative, innovative, and fast-paced.

    • Collaborative work environment where team members support and help each other

    • Emphasis on innovation and creativity in problem-solving

    • Fast-paced atmosphere with opportunities for growth and learning

    • Open communication and feedback encouraged

    • Diverse and inclusive workplace culture

  • Answered by AI
Round 2 - Coding Test 

Medium level leetcode problem

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Referral and was interviewed before Jun 2022. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(3 Questions)

  • Q1. Linux commands,
  • Q2. Cloud technologies different services (iaas, paas, saas)
  • Ans. 

    Cloud technologies offer different services like IaaS, PaaS, and SaaS for varying levels of control and management.

    • IaaS (Infrastructure as a Service) provides virtualized computing resources over the internet, such as virtual servers and storage.

    • PaaS (Platform as a Service) offers a platform allowing customers to develop, run, and manage applications without dealing with infrastructure.

    • SaaS (Software as a Service) deli...

  • Answered by AI
  • Q3. What do you know AWS

Interview Preparation Tips

Interview preparation tips for other job seekers - Brush up OS basics and cloud technologies.

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Recruitment Consulltant and was interviewed before Apr 2023. There were 3 interview rounds.

Round 1 - Coding Test 

There was coding test

Round 2 - Technical 

(2 Questions)

  • Q1. 2 technical rounds
  • Q2. Merge sort algorithm
  • Ans. 

    Merge sort is a divide and conquer algorithm that divides the input array into two halves, sorts them separately, and then merges them back together in sorted order.

    • Divide the input array into two halves

    • Recursively sort each half

    • Merge the sorted halves back together

  • Answered by AI
Round 3 - Behavioral 

(1 Question)

  • Q1. Leetcode Easy question

Skills evaluated in this interview

Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Walk-in and was interviewed before Aug 2023. There were 2 interview rounds.

Round 1 - Aptitude Test 

It was deciphering spoken language to subtitle for a complicated accented show

Round 2 - HR 

(2 Questions)

  • Q1. Why do you want to work here?
  • Ans. 

    I am passionate about the company's mission and values, and I believe my skills and experience align well with the opportunities here.

    • Passionate about company's mission and values

    • Skills and experience align well with opportunities

    • Excited about potential for growth and development

  • Answered by AI
  • Q2. What are you passionate about that made you apply for this job?
  • Ans. 

    I am passionate about using data analysis to drive business decisions and improve processes.

    • I have always been fascinated by the power of data to uncover insights and drive strategic decision-making.

    • I enjoy working with large datasets and using statistical tools to extract meaningful information.

    • I believe that data-driven decision-making is crucial for businesses to stay competitive in today's market.

    • For example, in my...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be good at the language you are applying for
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

It was a Basic Aptitude Test

Round 2 - Coding Test 

We were asked to do Sorting, SQL queries (join)

Round 3 - HR 

(1 Question)

  • Q1. Can you tell me about yourself?
  • Ans. 

    I am a passionate software engineer with 5 years of experience in developing web applications using various technologies.

    • 5 years of experience in software development

    • Proficient in developing web applications

    • Skilled in using various technologies such as Java, JavaScript, and SQL

  • Answered by AI

I applied via Referral and was interviewed before Jul 2021. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(6 Questions)

  • Q1. Question on anagram whether we can form with given strings
  • Q2. Play random song from list without repetition
  • Ans. 

    Use Fisher-Yates shuffle algorithm to play songs randomly without repetition.

    • Create an array of songs

    • Use Fisher-Yates shuffle algorithm to shuffle the array

    • Play the first song in the shuffled array

    • Remove the first song from the array

    • Repeat steps 3-4 until all songs have been played

  • Answered by AI
  • Q3. Reverse the linked list
  • Ans. 

    Reverse a linked list

    • Iterate through the linked list and change the direction of the pointers

    • Keep track of the previous, current, and next nodes

    • Set the head of the linked list to the last node after reversing

  • Answered by AI
  • Q4. Range sum with the queries
  • Q5. Hashing on 2d matrix counting max 1
  • Ans. 

    Hashing algorithm to count maximum number of 1s in a 2D matrix.

    • Create a hash table to store the count of 1s in each row.

    • Traverse through each row and update the count in the hash table.

    • Find the row with the maximum count of 1s in the hash table.

    • Return the count of 1s in that row.

  • Answered by AI
  • Q6. React interviews hooks

Interview Preparation Tips

Interview preparation tips for other job seekers - Data structure is basic and javascript question were also medium

Skills evaluated in this interview

HackerRank Interview FAQs

How many rounds are there in HackerRank Internship Trainee interview?
HackerRank interview process usually has 1 rounds. The most common rounds in the HackerRank interview process are Coding Test.

Tell us how to improve this page.

HackerRank Internship Trainee Interview Process

based on 1 interview

Interview experience

4
  
Good
View more

Interview Questions from Similar Companies

BrowserStack Interview Questions
3.6
 • 48 Interviews
GeeksForGeeks Interview Questions
3.2
 • 39 Interviews
Fleetx.io Interview Questions
3.7
 • 28 Interviews
ZIGRAM Interview Questions
3.9
 • 26 Interviews
RGBSI Interview Questions
3.5
 • 24 Interviews
View all
Software Development Engineer II
14 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Software Engineer
10 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Engineer
7 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Developer
6 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Program Manager
5 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare HackerRank with

CodeChef

3.2
Compare

LeetCode

5.0
Compare

GeeksForGeeks

3.2
Compare

InterviewBit

3.6
Compare
Did you find this page helpful?
Yes No
write
Share an Interview