20 questions · from 1 interviews

Square Yards interview questions

Every question candidates reported from their Square Yards interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.

Square Yards coding and DSA questions

  1. 01

    React Counter Component

    Create a counter component with the following requirements: - Increment - Decrement - Reset - Show the last 5 counter values

    Medium · From Square Yards Interview

  2. 02

    React Color Copy‑Paste Component

    Build a React component that displays 4 boxes: - 3 colored boxes (Red, Green, Blue) - 1 empty white box Requirements: 1. Clicking a colored box copies its color (first click). 2. Store the selected color in state while the white box remains unchanged. 3.…

    Medium · From Square Yards Interview

  3. 03

    React Stopwatch

    Create a stopwatch component with the following functionality: - Start - Pause - Reset

    Medium · From Square Yards Interview

  4. 04

    React User Sort Component

    Given an array of user objects, build a React component that displays the users in a table and provides two buttons: - "Sort by Name" sorts users alphabetically (A‑Z). - "Sort by Age" sorts users from youngest to oldest. The UI should update immediately after…

    Medium · From Square Yards Interview

  5. 05

    Async Print Numbers with Delay

    Write an async function that prints numbers 1 to 5 with a 1‑second delay between each.

    Easy · From Square Yards Interview

  6. 06

    Express Request Logger Middleware

    Create a simple Express middleware that logs the request method, URL, and response time.

    Easy · From Square Yards Interview

  7. 07

    Word Frequency Counter

    Write a function that counts the frequency of each word in a given string.

    From Square Yards Interview

Square Yards system design questions

  1. 01

    High‑Throughput Notification Service Design

    Design a high‑throughput notification service that can send Email, SMS, and WhatsApp messages.

    From Square Yards Interview

  2. 02

    API Optimization for 10,000 RPS

    How would you optimize an API that needs to handle 10,000 requests per second?

    From Square Yards Interview

  3. 03

    MongoDB Performance Troubleshooting

    A MongoDB collection has 100 million documents and queries have become slow. What steps would you take to improve performance?

    From Square Yards Interview

  4. 04

    Exactly‑Once Processing in Kafka

    How do you ensure messages are not processed twice in Kafka?

    From Square Yards Interview

  5. 05

    API Rate Limiter Design

    Design a rate limiter for an API.

    From Square Yards Interview

  6. 06

    Large File Upload Service Design

    Design a file upload service that supports files up to 10 GB.

    From Square Yards Interview

  7. 07

    Chat History Database Architecture

    Design a database architecture to store and retrieve customer chat history similar to the chat view in ChatGPT.

    From Square Yards Interview

Square Yards behavioural and HR questions

  1. 01

    Local vs Global State Decision

    How do you decide what should be local state and what should be global state in a React application?

    From Square Yards Interview

  2. 02

    Prevent Duplicate API Requests

    How would you prevent duplicate API requests in a frontend application?

    From Square Yards Interview

  3. 03

    Node.js Concurrency Handling

    How does Node.js handle multiple concurrent requests if it runs on a single thread? Discuss the event loop, non‑blocking I/O, libuv, worker threads, and the OS thread pool.

    From Square Yards Interview

  4. 04

    Node.js Performance Bottlenecks

    When would Node.js become slow? Consider CPU‑intensive work, infinite loops, huge JSON parsing, synchronous filesystem calls, and large regular expressions.

    From Square Yards Interview

Square Yards other questions

  1. 01

    Bat and Ball Price Puzzle

    A bat and a ball cost ₹110 together. The bat costs ₹100 more than the ball. How much does the ball cost?

    Easy · From Square Yards Interview

  2. 02

    Money Transaction Puzzle

    You have ₹100. You spend ₹70, then get ₹50 back, then spend ₹60. How much money do you have?

    Easy · From Square Yards Interview

Square Yards interview questions FAQ

What questions are asked in Square Yards interviews?

Candidates reported 20 distinct questions across 1 Square Yards interviews. 7 coding and DSA questions, 7 system design questions, 4 behavioural and HR questions, 2 other questions.

How difficult are Square Yards interview questions?

Of the questions candidates rated, 50% were easy, 50% medium and 0% hard.