HackerEarth Technical Content Engineer Intern OA

hackerearth logo
hackerearth
· Technical Content Engineer Intern
April 18, 2026 · 0 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.

Full Experience

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

Interview Questions (1)

1.

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.

📣 Found this helpful? Please share it with friends who are preparing for interviews!

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

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