SarthiQ

SarthiQ

Interview Preparation Guide

Flipkart
Questions & Answers

A comprehensive, expert-curated list of real interview questions to help you prepare effectively and land your dream job.

Document Details

Topic / Subject
Flipkart
Content Length
35 Curated Q&A
Generated On
October 4, 2026
Provided By
SarthiQ.com
Want to explore more questions & mock interviews? Click on 👉www.sarthiq.com
© 2026 SarthiQ Platform. All rights reserved.
www.sarthiq.com
Resume Upload Get Job in 90 Days Resume Builder AI Interview Coach Interview Questions Placement Committee Self Assessment Get Internship

Need Help?

[email protected]

Top Flipkart Interview Questions

NETFLIX
ORACLE
Adobe
NVIDIA
meta
IBM
wipro
TCS
cisco
intel
SAP
Uber

Flipkart Interview Questions

Practice with real Flipkart interview questions

01
A Frontend Developer was asked
SarthiQ Flipkart
Medium
Asked in 2024
Q. Describe the core concepts of React components and props. How do they work together? Provide a code example.
Ans. React components are the building blocks of any React application. They are reusable pieces of UI that can manage their own state and receive data through props. Props (short for properties) are used to pass data from parent components to child components, allowing for dynamic rendering of UI based on data. Example of React Component with Props:
javascript
import React from 'react';

// Child component
const Greeting = ({ name }) => {
    return <h1>Hello, {name}!</h1>;
};

// Parent component
const App = () => {
    const userName = 'Alice';
    return <Greeting name={userName} />;
};

export default App;
In this example, Greeting is a child component that receives a name prop from the App parent component. The App component passes the userName variable as a prop to Greeting, which then renders the greeting message with the name provided. Key Concepts: - Components can be either functional or class-based. - Props are immutable and should not be modified within the child component, ensuring a unidirectional data flow. - Components can manage their own state using hooks (like useState) or class state management. Understanding components and props is essential for building maintainable and scalable React applications.
Frontend DeveloperCore Concept
02
A Software Engineer was asked
SarthiQ Flipkart
Medium
Asked in 2024
Q. Can you explain the concept of Dynamic Programming and provide an example of solving the Fibonacci sequence problem using Dynamic Programming in JavaScript?
Ans. Dynamic Programming (DP) is an optimization technique used to solve complex problems by breaking them down into simpler subproblems. It is particularly useful for problems that exhibit overlapping subproblems and optimal substructure properties. The Fibonacci sequence is a classic example where DP can be applied. Fibonacci Sequence: The Fibonacci sequence is defined as follows: - F(0) = 0 - F(1) = 1 - F(n) = F(n-1) + F(n-2) for n > 1 Recursive Approach (Inefficient):
javascript
function fibonacci(n) {
    if (n <= 1) return n;
    return fibonacci(n - 1) + fibonacci(n - 2);
}
This recursive solution has exponential time complexity due to repeated calculations of the same values. Dynamic Programming Approach (Efficient): We can optimize this using memoization or tabulation. #### Memoization Example:
javascript
function fibonacci(n, memo = {}) {
    if (n in memo) return memo[n];
    if (n <= 1) return n;
    memo[n] = fibonacci(n - 1, memo) + fibonacci(n - 2, memo);
    return memo[n];
}
In this approach, we store the results of computed Fibonacci numbers in a memo object to avoid redundant calculations, achieving linear time complexity O(n). #### Tabulation Example:
javascript
function fibonacci(n) {
    const fib = new Array(n + 1);
    fib[0] = 0;
    fib[1] = 1;
    for (let i = 2; i <= n; i++) {
        fib[i] = fib[i - 1] + fib[i - 2];
    }
    return fib[n];
}
The tabulation method builds up the solution iteratively and also runs in O(n) time with O(n) space complexity. Conclusion: Dynamic Programming is a powerful technique to optimize recursive algorithms. By using memoization or tabulation, we can significantly reduce the time complexity of problems like calculating Fibonacci numbers from exponential to linear.
Software EngineerCore Concept
03
Software Engineer
SarthiQ Flipkart
Hard

Question:

How would you design a scalable system for XYZ...

04
Software Engineer
SarthiQ Flipkart
Hard

Question:

How would you design a scalable system for XYZ...