JobsJob TrackerJob alerts

Tech Mahindra ยท 60 questions

All 60Coding 32System Design 1Low-Level Design 4Behavioral 12
  • Two basic coding problems: array maximum and word/space countCoding
  • OOP basics and reverse a number on paper
  • Why Tech Mahindra and how would you choose among competing offersBehavioral
  • Network Protocol: Decimal to Binary ConversionCoding
  • OOPs concepts, Java collections, and exception handling
  • Aptitude and coding test with array second smallest element and anagramsCoding
  • AI-proctored vocabulary test with sentence repetition and grammar
  • Technical interview on OOP polymorphism, SQL joins, linked list cycles, and deadlocksCoding
  • HR interview on company knowledge, leadership, and relocationBehavioral
  • AMCAT style aptitude and English test
  • Coding questions and pseudocode evaluationCoding
  • Conversational listening and answering testBehavioral
  • Basic programming problems (Palindrome, Factorial, Prime)Coding
  • OOPs, C/C++ syntax, and database sortingLow-Level Design
  • Project discussion and situational behavioral questionsBehavioral
  • HR introduction and company overview discussionBehavioral
  • Series and profit/loss problemsCoding
  • Encapsulation in C++Coding
  • Technical challenge in a previous projectBehavioral
  • Teamwork experienceBehavioral
  • Reverse a linked listCoding
  • Binary searchCoding
  • Map data structure
  • Normal forms
  • Networking and Troubleshooting basics
  • If you were invisible for a dayBehavioral
  • Filter Desktop Product IDsCoding
  • Find the Nth Fibonacci NumberCoding
  • Sum of Two Chemicals Producing Maximum Product EnergyCoding
  • Longest palindromic substringCoding
  • Print something without using the main functionCoding
  • Calculate total number of products delivered to each clientCoding
  • Calculate energy produced per second during nuclear reactionCoding
  • Print first three characters of FIRST_NAME from Student tableCoding
  • Determine maximum height of pyramid with limited cuboid blocksCoding
  • Area of triangle and maximum array elementCoding
  • HTML basics and lists
  • Use of '===' operatorCoding
  • React Fundamentals and State Management
  • Implement useContext HookCoding
  • Object-Oriented Programming Concepts
  • SQL query for third largest salary and OOPs conceptsCoding
  • Java Backend Development
  • Spring and Design PatternsLow-Level Design
  • Client Interaction and SecurityBehavioral
  • React.js and Frontend conceptsCoding
  • Reverse a stringCoding
  • Decimal to BinaryCoding
  • Prime Number CheckCoding
  • Write a basic program in preferred languageCoding
  • Recent project contribution and problem statementBehavioral
  • HR background, group dynamics, and company awarenessBehavioral
  • Explain OOP concepts, Abstract classes, Interfaces, and functional interfacesLow-Level Design
  • Read a CSV file from a remote locationCoding
  • Internal working of HashMap and Hash Collision TechniquesCoding
  • Singleton and Prototype Design PatternsLow-Level Design
  • Optimize a complex algorithmCoding
  • Architect a scalable software solutionSystem Design
  • Reverse a number and find item count below 0 temperatureCoding
  • Self introduction and extempore topicBehavioral
โ† Tech Mahindra questions
  1. Interview questions
  2. Tech Mahindra
  3. Find the Nth Fibonacci Number
Coding

Find the Nth Fibonacci Number

Filed under Tech Mahindra

The question

Compute and return the Nth Fibonacci number.

No write-up yet. Related questions below have one.

Related Tech Mahindra questions

  • Two basic coding problems: array maximum and word/space count
  • Network Protocol: Decimal to Binary Conversion
  • Aptitude and coding test with array second smallest element and anagrams
  • Technical interview on OOP polymorphism, SQL joins, linked list cycles, and deadlocks
  • Coding questions and pseudocode evaluation
โ† Filter Desktop Product IDsSum of Two Chemicals Producing Maximum Product Energy โ†’

Collected from public candidate posts and coding forums. Updated Nov 2026.