# Product Company Coding OAs

> Prepare for 60 to 120 minute coding OAs on HackerRank, HackerEarth, CodeSignal and in-house platforms used by product companies and startups. Free notes, key...

Canonical: https://www.internhack.in/roadmaps/tracks/dsa-placement/product-company-oas
Last updated: 2026-11-28

Prepare for 60 to 120 minute coding OAs on HackerRank, HackerEarth, CodeSignal and in-house platforms used by product companies and startups.

Intermediate · about 6 hours · difficulty 3/5

Learn first: [Contests on LeetCode, Codeforces and CodeChef](https://www.internhack.in/roadmaps/tracks/dsa-placement/contests), [Dynamic Programming: Foundations and 1D DP](https://www.internhack.in/roadmaps/tracks/dsa-placement/dp-1d), [Graph Representation, BFS and DFS](https://www.internhack.in/roadmaps/tracks/dsa-placement/graph-traversal)

Product-company OAs usually give 2 to 4 problems in 60 to 120 minutes, scored by hidden test cases. Many students lose marks not from lack of knowledge but from poor test-taking.

### Common formats

- **HackerRank**: function-signature problems, sometimes with MCQs on CS core and SQL. Many companies use it.
- **HackerEarth** and **CodeSignal**: similar, sometimes with full stdin and stdout handling.
- In-house platforms: Amazon, Google and others have their own; some add work-style or debugging sections.
- Typical mix: one easy-medium array or string problem, one medium (greedy, binary search, graph or DP), and occasionally a hard one.

### Strategy during the test

- Read all problems first; start with the one you are most confident about.
- Write a brute force that passes small cases if the optimal idea is not coming. **Partial scores count**.
- Watch constraints for the expected complexity, and use 64-bit integers by default.
- Test with edge cases using the custom input box before submitting.
- Keep 10 minutes at the end to recheck.

### Integrity and environment

Tests are proctored (webcam, tab switching, plagiarism checks). Use a stable connection, a quiet room, and only allowed resources. Plagiarism flags lead to rejection and sometimes blacklisting.

### Pitfalls

- Spending 50 minutes on the hardest problem and leaving an easy one unsolved.
- Printing debug output that breaks the expected format.

You are ready to move on when you can score 2 out of 3 problems fully on a timed 90-minute mock OA built from LeetCode mediums.

## Key concepts

- **HackerRank and HackerEarth formats**
- **Function signature vs stdin problems**
- **Problem ordering strategy**
- **Partial scoring with brute force**
- **Custom test cases**
- **Proctoring and integrity rules**
- **MCQ sections on CS core**

## Mini project

Run 4 self-made mock OAs over 2 weeks: 3 random LeetCode mediums (or 2 mediums and 1 hard) in 90 minutes on HackerRank's interview kit or a LeetCode virtual contest. Record score, time per problem and the reason for every failed test case.

## Check yourself

With 30 minutes left and one unsolved medium problem, what is the best way to maximise your score?

## Free resources

- [HackerRank Interview Preparation Kit](https://www.hackerrank.com/interview/interview-preparation-kit) (HackerRank)
- [HackerEarth practice](https://www.hackerearth.com/practice/) (HackerEarth)
- [LeetCode contests (virtual participation)](https://leetcode.com/contest/) (LeetCode)

Previous: [Mass-Recruiter Tests: TCS NQT, Infosys, Accenture and Others](https://www.internhack.in/roadmaps/tracks/dsa-placement/mass-recruiter-tests) · Next: [The Fresher Resume](https://www.internhack.in/roadmaps/tracks/dsa-placement/fresher-resume)

## More in Online Assessments

- [Mass-Recruiter Tests: TCS NQT, Infosys, Accenture and Others](https://www.internhack.in/roadmaps/tracks/dsa-placement/mass-recruiter-tests)
- [Product Company Coding OAs](https://www.internhack.in/roadmaps/tracks/dsa-placement/product-company-oas)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [DSA and Placement Prep Roadmap](https://www.internhack.in/roadmaps/tracks/dsa-placement)
