HackerEarth Technical Content Engineer Intern OA
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)
Count pairs (a,b) with product as a perfect square
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.