Back to Blog College Placement Prep

Coding Test Preparation for Campus Placements: A Practical Guide

Which platforms companies actually use, what difficulty to expect by company tier, which topics come up most, and how to manage your time during the test. A practical prep guide with no filler.

I
Infyva TeamInfyva Editorial Team
March 202611 min read

Understanding the Landscape Before You Prepare

Campus placement coding tests are not all the same, and preparing for them as if they are is one of the most common mistakes students make. The difficulty, topic distribution, time pressure, and platform vary significantly by company tier and role type. Treating a TCS coding round the same as a Goldman Sachs engineering test will either leave you overprepared and anxious, or underprepared and caught off guard.

Before you start preparing, you need to know which companies you're targeting and what their actual test format looks like. This guide breaks it down by platform and company tier.

Which Platforms Companies Use

HackerRank is the most widely deployed campus coding assessment platform. It is used by Amazon, Walmart, Microsoft, Goldman Sachs, JPMorgan, and hundreds of mid-tier product and service companies. The interface is clean, supports most languages, and includes both coding problems and optional multiple-choice sections. HackerRank problems are categorized by difficulty (Easy, Medium, Hard), and campus placements at most companies use Easy and Medium problems.

CoCubes (now part of Aon's assessments business) is widely used by IT services companies for campus hiring. Infosys, Wipro, HCL, Tech Mahindra, and Cognizant-tier companies frequently use CoCubes or similar platforms. The coding component on CoCubes-style assessments typically includes 1-2 problems at an Easy to Low-Medium difficulty, often combined with an aptitude section on the same platform.

AMCAT (Aspiring Minds Computer Adaptive Test) is used for both direct college campus drives and as an off-campus hiring filter. Companies including Accenture, Capgemini, and many mid-tier service companies use AMCAT scores as part of their candidate pipeline. AMCAT's coding module (Automata) typically includes 2 coding problems in 45-60 minutes. The problems skew toward implementation correctness rather than algorithm optimization.

CodeSignal is increasingly used by product companies and startups for assessments. Uber, Robinhood, and various VC-backed startups use CodeSignal's General Coding Assessment (GCA) as a standardized score that candidates can share across multiple companies. If you're targeting product company roles, understanding the GCA format and its benchmark scores is useful.

HackerEarth is used by a mix of product startups and service companies for campus drives and hackathon-style hiring. The problems tend to be implementation-heavy with clear specifications.

Difficulty Calibration by Company Tier

Company TierExamplesCoding DifficultyFocus
Tier 1 ProductGoogle, Microsoft, AmazonMedium to HardDSA, problem solving, optimization
Tier 2 ProductFlipkart, Paytm, Zomato, MeeshoEasy-Medium to MediumDSA, implementation, some system concepts
IT Services (top)TCS Digital, Infosys SP, Wipro EliteEasy-MediumImplementation, basic DSA, code correctness
IT Services (standard)TCS Ninja, Infosys, HCL, Tech MahindraEasyBasic programming logic, pattern problems
BFSI / Consulting techGoldman, JPMorgan, Deloitte USTEasy-Medium to MediumDSA, logical reasoning, sometimes SQL

Topics to Prioritize

The return on study time is not equal across all DSA topics. Based on frequency data from campus assessment reports and community-sourced problem logs, these are the highest-frequency topics by priority order for most company tiers.

For IT services companies (TCS, Infosys, Wipro, HCL):

  1. String manipulation: pattern matching, reversals, anagrams, palindromes
  2. Array operations: sorting, searching, two-pointer problems, prefix sums
  3. Basic math: GCD, LCM, prime checking, number patterns
  4. Simple recursion: factorial, Fibonacci, power calculations
  5. Pattern printing: star patterns, number patterns

For Tier 2 product companies and top IT services tracks:

  1. Arrays and strings (as above, at slightly higher complexity)
  2. Linked lists: reversal, cycle detection, merge operations
  3. Stacks and queues: implementation and application problems
  4. Binary search: standard and on-answer-space problems
  5. Hash maps: frequency counting, two-sum type problems, grouping
  6. Basic trees: traversals, height, diameter
  7. Basic dynamic programming: 0/1 knapsack, longest common subsequence, coin change

For Tier 1 product companies:

All of the above, plus graphs (BFS/DFS, shortest path), advanced DP, segment trees or similar, and the ability to identify the right approach quickly under time pressure.

Time Management During the Test

Time management in a coding assessment is a different skill from solving problems in practice. In practice, you can take 45 minutes on a problem without consequences. In a 90-minute test with two problems, that means you barely finish one.

A framework that works: spend the first 5 minutes reading both problems completely before writing a single line of code. Identify which problem you are more confident about. Start with that one but set a mental checkpoint. If you have solved one problem and have more than 35% of the time remaining, attempt the second. If you have solved one problem with less than 35% of the time remaining, focus on optimizing and edge-casing the one you have.

68%

of candidates who fail campus coding tests do so not because they couldn't solve the problem, but because they ran out of time or submitted without handling edge cases (HackerRank internal data, 2024)

Edge cases are the most common source of lost test cases. Before submitting, mentally run through: empty input, single element, maximum constraints, negative numbers (if applicable), and duplicate values. Many problems provide partial credit for test cases passed, so a solution that handles 7 of 10 test cases is better than a more elegant solution that crashes on test case 3.

Common Mistakes That Cost Candidates

  • Not reading the output format carefully. Many candidates solve the right problem but print output in the wrong format, failing all test cases despite correct logic.
  • Ignoring constraints. If the problem says n can be up to 10^6, an O(n^2) solution will time out. Reading constraints before coding determines which approach is viable.
  • Submitting without testing locally. Write your own test cases, including edge cases, before hitting submit. Most platforms allow you to run custom input before final submission.
  • Spending too long on a hard problem. A partial solution that passes some test cases is better than an attempted-but-empty submission on the problem you couldn't finish.
  • Using an unfamiliar language under pressure. Use the language you are most comfortable with. This is not the time to practice Python if you've been coding in Java for two years.

Building a Preparation Schedule

Eight weeks is enough time to prepare meaningfully for most campus placement coding tests if you practice consistently. A sensible structure:

  • Weeks 1-2: Cover all fundamental topics at your target tier. Use a structured platform like LeetCode, HackerRank's preparation kit, or InterviewBit. Aim for 1-2 problems per day, prioritizing understanding over speed.
  • Weeks 3-5: Timed practice. Start setting time limits for each problem. Practice on HackerRank and the specific platform used by your target companies. Complete at least 3 full mock tests.
  • Weeks 6-7: Targeted weak area work. Identify the topic categories where you are slowest or least confident and focus there. Do not spend all your time on topics you already handle well.
  • Week 8: Light review, mock tests, and rest. Exhausted candidates perform worse than well-rested ones. Do not pull all-nighters before your placement tests.

Share this article

Practice makes perfect

Ready to put this into practice?

Infyva gives you AI-powered voice interviews, real-time scoring, and detailed feedback. Free plan available for candidates.