← Infosys Interview Insights

Infosys·Software Engineer·Onsite - Cross-functional / Panel·Intermediate

IntermediatePending
Aug 2026

Summary

Face-to-face panel interview at Infosys for a Digital Specialist Engineer role. Mixed bag: a couple of questions didn't land, but the interviewer seemed genuinely positive by the end and walked through next steps in detail.

Questions Asked (5)

Q1

Solve a problem involving Trie data structures.

Algorithms & Data Structures
Author's notes

Just told them I wasn't confident rather than fumbling through a half-baked answer.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clarifying the problem requirements and constraints, then explain the Trie data structure and its advantages for prefix-based operations. Walk through the implementation and complexity analysis, and discuss potential optimizations or trade-offs.

Pro tip: Mention real-world applications of Tries, such as autocomplete or IP routing, to show practical understanding. Also, be prepared to discuss memory optimization techniques like compressed Tries.

1. Clarify the Problem

Ask questions to understand the exact requirements, such as the operations needed (insert, search, delete), input constraints, and expected output. This ensures you address the right problem.

2. Explain the Trie Structure

Describe what a Trie is, its node structure (typically with children pointers and a flag for end-of-word), and why it's efficient for prefix-based operations.

3. Outline the Algorithm

Detail the steps for each required operation, such as insertion, search, and deletion, explaining how traversal works character by character.

4. Analyze Complexity

Discuss time and space complexity. Time is typically O(m) for operations where m is the key length, and space is O(n*m) for n keys, but highlight that it can be optimized.

5. Discuss Optimizations and Trade-offs

Mention alternatives like hash maps, and when Tries are preferable. Also, talk about memory optimizations like compressed Tries or using arrays vs. hash maps for children.

Key Points to Mention

  • Definition and structure of a Trie (prefix tree)
  • Operations: insert, search, delete, and prefix search
  • Time complexity: O(m) per operation, where m is key length
  • Space complexity: O(n*m) worst case, but can be optimized
  • Use cases: autocomplete, spell check, IP routing
  • Comparison with hash tables: ordered traversal, prefix matching

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q2

An additional coding problem added outside the planned interview set, requiring brute force and then an optimized solution.

Algorithms & Data StructuresTechnical Trade-offs
Author's notes

Threw me a bit that it wasn't part of the original plan.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clarifying the problem and constraints, then propose a brute-force solution with its time and space complexity. Next, identify inefficiencies and optimize using appropriate data structures or algorithmic techniques, explaining the trade-offs. Finally, discuss edge cases and test your solution with examples.

Pro tip: Always communicate your thought process clearly, even if you don't finish coding; interviewers value problem-solving skills and the ability to iterate from brute force to optimized solutions.

1. Understand and Clarify

Restate the problem in your own words and ask clarifying questions about input size, constraints, and expected output. Confirm any assumptions with the interviewer.

2. Brute Force Solution

Propose a straightforward, naive solution that solves the problem correctly, and analyze its time and space complexity. This demonstrates baseline problem-solving ability.

3. Optimize

Identify bottlenecks in the brute-force approach and suggest improvements using better algorithms or data structures. Explain how the optimized solution reduces complexity.

4. Trade-offs and Edge Cases

Discuss trade-offs between different approaches (e.g., time vs. space) and consider edge cases such as empty input, large values, or duplicates. Mention how you would handle them.

5. Code and Test

Write clean, modular code for the optimized solution, and walk through a few test cases to verify correctness. If time permits, mention potential further optimizations.

Key Points to Mention

  • Time and space complexity analysis for both brute force and optimized solutions
  • Choice of data structures (e.g., hash maps, heaps, trees) and their impact on performance
  • Trade-offs between different optimization techniques (e.g., sorting vs. hashing)
  • Edge cases and how to handle them (e.g., empty input, negative numbers, duplicates)
  • Modular code design and readability
  • Testing methodology and validation with examples

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q3

Walk through the system design of one of your past projects.

System Design
Author's notes

This went well.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Select a project you know deeply and structure your answer around the problem, high-level architecture, key components, and trade-offs. Focus on your specific contributions and the reasoning behind design decisions, not just a feature list.

Pro tip: Quantify the impact of your design choices (e.g., reduced latency by 40%, handled 10k requests/sec) and briefly mention one thing you would improve if you rebuilt it today—this shows engineering maturity and self-awareness.

1. Set the Context

Briefly describe the project's purpose, your role, and the scale (users, data volume, traffic). This helps the interviewer understand the constraints and your level of ownership.

2. Outline the High-Level Architecture

Sketch the main components (e.g., clients, load balancers, services, databases, caches) and how they interact. Keep it simple and avoid diving into details yet.

3. Deep Dive into Key Components

Pick 2-3 critical parts you worked on and explain their design, technology choices, and how they solve specific problems (e.g., scalability, consistency).

4. Discuss Trade-offs and Challenges

Explain the trade-offs you made (e.g., SQL vs NoSQL, consistency vs availability) and how you overcame technical challenges. This demonstrates critical thinking.

5. Summarize Impact and Learnings

Conclude with the results (metrics if possible) and what you learned. Optionally, mention how you would improve the design today.

Key Points to Mention

  • Scalability: how the system handles growth (e.g., horizontal scaling, sharding, caching).
  • Reliability and fault tolerance: redundancy, failover, monitoring, and alerting.
  • Data storage and consistency: choice of databases, data models, and consistency guarantees.
  • API design and communication: REST/gRPC, message queues, synchronous vs asynchronous.
  • Security: authentication, authorization, data encryption, and compliance.
  • Performance: latency, throughput, and optimizations like caching or indexing.

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q4

Write or explain a SQL query related to one of your projects.

Data Modeling
Author's notes

Didn't get this fully right.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Choose a project where SQL was central to data modeling or retrieval, and explain the query's purpose, the schema it operates on, and how it solves a business problem. Walk through the query step-by-step, highlighting design decisions and optimizations.

Pro tip: Mention how you validated the query's performance and correctness, such as using EXPLAIN plans or test cases, to show you care about production readiness.

1. Set the context

Briefly describe the project, your role, and the data model involved. Explain why the query was needed.

2. Present the query

Write or verbally outline the SQL query, clarifying the tables, joins, and filters used.

3. Explain the logic

Walk through each clause (SELECT, FROM, WHERE, GROUP BY, etc.) and how it contributes to the result.

4. Highlight optimizations

Discuss any indexing, query rewriting, or performance tuning applied, and why.

5. Summarize impact

Conclude with the outcome: how the query improved performance, enabled insights, or solved a problem.

Key Points to Mention

  • Normalization/denormalization decisions in the schema
  • Use of joins (INNER, LEFT, etc.) and their impact
  • Aggregation functions and GROUP BY/HAVING clauses
  • Indexing strategy and query performance
  • Handling of NULLs and data integrity
  • Scalability considerations for large datasets

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q5

Explain your approach and complexity analysis for a given problem.

Algorithms & Data StructuresTechnical Trade-offs
Author's notes

Fine.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clarifying the problem and constraints, then outline your step-by-step approach before diving into code. After explaining the algorithm, analyze time and space complexity, and discuss potential optimizations or trade-offs.

Pro tip: Always relate the complexity to the problem's constraints to show practical awareness; for example, if n is up to 10^5, an O(n^2) solution is likely unacceptable.

1. Clarify the Problem

Ask clarifying questions to ensure you understand the input, output, and constraints. Confirm edge cases and expected behavior.

2. Outline Your Approach

Describe your high-level strategy, including the data structures and algorithms you plan to use. Explain why this approach is suitable.

3. Walk Through an Example

Trace your algorithm on a small example to demonstrate correctness and uncover potential issues.

4. Analyze Complexity

Derive the time and space complexity using Big-O notation. Explain each component of the complexity.

5. Discuss Trade-offs and Optimizations

Mention alternative approaches, their complexities, and any trade-offs. Suggest possible optimizations if applicable.

Key Points to Mention

  • Time complexity analysis with Big-O notation
  • Space complexity analysis
  • Best, average, and worst-case scenarios
  • Trade-offs between different approaches (e.g., time vs. space)
  • Edge cases and constraints
  • Potential optimizations or alternative solutions

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.