Coding tests are a crucial part of the hiring process for top companies like TCS, Accenture, Infosys, Wipro, IBM, and many more. These tests assess candidates on data structures, algorithms, problem-solving skills, and programming efficiency. Preparing with company-specific coding questions can give you a strong advantage and improve your chances of success in technical interviews.
Company-Wise Coding Questions
Below is a list of coding questions for different companies to help you get ready for recruitment exams. Click on any company name to start practicing.
- Accenture Coding Questions
- TCS Coding Questions
- Infosys Coding Questions
- Wipro Coding Questions
- HCL Coding Questions
- Cognizant Coding Questions
- Capgemini Coding Questions
- Tech Mahindra Coding Questions
- LTIMindtree Coding Questions
- IBM Coding Questions
- KPMG Coding Questions
- Deloitte Coding Questions
- Cyient Coding Questions
- Hexaware Coding Questions
- KPIT Coding Questions
- Mphasis Coding Questions
- Birlasoft Coding Questions
- Persistent Systems Coding Questions
- Sasken Coding Questions
- Sonata Software Coding Questions
- Tata Elxsi Coding Questions
- Zensar Technologies Coding Questions
- Mastek Coding Questions
- Newgen Software Coding Questions
- Honeywell Coding Questions
Common Topics in Coding Tests
Most company coding tests include questions on the following topics:
- Programming Languages: C, C++, Java, Python – Mastering these languages is crucial for solving coding problems efficiently.
- Data Structures & Algorithms (DSA): Arrays, Linked Lists, Stacks, Queues, Trees, Graphs, Sorting, Searching, Recursion, Dynamic Programming – Understanding and implementing these concepts is essential for technical interviews.
- Mathematical & Logical Problems: Number theory, prime numbers, Fibonacci, combinatorics – Many coding challenges involve mathematical reasoning and logic.
Additional Coding Test Resources
Want to strengthen your coding skills? Explore our topic-wise programming and DSA exercises with detailed solutions. Our resources include:
- C Programming Questions
- C++ Programming Questions
- Java Programming Questions
- Python Programming Questions
- Data Structures & Algorithms Questions
We regularly update this page with the latest coding questions from top companies, so keep practicing!
How to Prepare for Company Coding Tests?
Follow these steps to boost your preparation for company-specific coding rounds:
- Master Programming & DSA – Learn C, C++, Java, or Python and practice arrays, linked lists, stacks, queues, trees, graphs, sorting, searching, and dynamic programming.
- Solve Company-Specific Questions – Practice TCS, Infosys, Wipro, Accenture, IBM coding questions from past tests to understand recurring patterns.
- Improve Speed & Optimization – Solve problems under time limits and aim for efficient solutions (O(n) or O(log n) complexity).
- Take Mock Tests & Timed Practice – Attempt full-length tests weekly to build accuracy, improve problem-solving speed, and gain confidence.
- Ace the Interview – Learn to explain your approach, optimize solutions step-by-step, and handle edge cases effectively.
- Stay Consistent & Keep Practicing – Dedicate 2-3 hours daily, track your progress, and engage in coding communities for motivation and guidance.
Top 5 Must-Solve Questions for Coding Rounds
Here are five essential coding problems that frequently appear in recruitment tests:
- Two Sum – Find two numbers in an array that add up to a target sum.
- Reverse Linked List – Reverse the elements of a singly linked list.
- Find the Missing Number in an Array – Identify the missing number in a sequence from 1 to N.
- Merge Two Sorted Arrays – Combine two sorted arrays into one sorted array.
- Find the First Non-Repeating Character in a String – Identify the first character that appears only once in a given string.