hackerearth logo
Hackerearth· Technical Content Engineer Intern

HackerEarth Technical Content Engineer Intern OA

Posted
18 Apr 2026
201 reads

Summary

I completed the HackerEarth Technical Content Engineer Intern online assessment, which included multiple‑choice questions, a behavioral question, a coding problem, and an SQL task.

How it went

Format: 20 MCQ's 1 behavioral + situational question 1 Coding question 1 Sql question

Coding: We need to count the number of pairs of (a,b) such that 1 <=a <=b <=n and a×b is perfect square. 1<=n<=10**5

Sql: need to write a sql query: concepts covered in it are joins, aggregations, grouping, Sorting

MCQ's guess the output for the given python code Dev based questions

  • Covered docker, kubernetes, react and REST API's

Gen AI and ML Scenario based questions

Questions asked (1)

  1. 01

    Count pairs (a,b) with product as a perfect square

    Data Structures & Algorithms

    Given an integer n (1 ≤ n ≤ 10⁵), count the number of ordered pairs (a, b) such that 1 ≤ a ≤ b ≤ n and the product a × b is a perfect square.

    You need to output the total number of such pairs for the given n.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Hackerearth recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!