13 questions · from 4 interviews

Wex interview questions

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

Wex coding and DSA questions

  1. 01

    Longest Substring Without Repeating Characters

    Given a string s, find the length of the longest substring that contains no repeating characters. Example: Input: "abcabcbb" Output: 3 // "abc" Return the maximum length of such a substring.

    Medium · From WEX | SDE3 | Interview

  2. 02

    Word Break - Find All Ways to Break

    Given a non‑empty string s and a dictionary wordDict containing a list of non‑empty words, return all possible sentences where s can be segmented into a space‑separated sequence of dictionary words. Example: Input: s = "catsanddog", wordDict =…

    Hard · From WEX | SDE3 | Interview

  3. 03

    Paint House

    Given a row of houses, each house can be painted one of three colors. The cost of painting each house with a particular color is provided. Find the minimum total cost to paint all houses such that no two adjacent houses have the same color.

    From WEX | SDE 2 | Interview Experience

  4. 04

    Candy

    There are N children standing in a line, each with a rating. Distribute candies to the children such that each child gets at least one candy, and any child with a higher rating than an immediate neighbor receives more candies than that neighbor. Minimize the…

    From WEX | SDE 2 | Interview Experience

  5. 05

    Word Search

    Given a 2D board of characters and a word, determine if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cells, where adjacent cells are horizontally or vertically neighboring. The same cell may not be used more…

    From WEX | SDE 2 | Interview Experience

  6. 06

    Frequency of the Most Frequent Element

    Given an integer array nums and an integer k, you can increment any element of the array by 1 at most k times in total. Return the maximum possible frequency of an element after performing the operations.

    From WEX | SDE 2 | Interview Experience

  7. 07

    Compute Folder Sizes

    Write code to compute the size of all folders in a directory.

    From WEX | SDE4 | Bengaluru | Reject

  8. 08

    Set Matrix Zeroes

    I was given a Data Structures & Algorithms problem involving setting all elements in a row and column to zero if any element in that row or column is zero.

    Medium · From Wex Interview Experience SDE2 | 2.9YOE | Jan26

Wex system design questions

  1. 01

    Design a Logging and Alerting System

    Design a system that writes logs to a file, supports multiple severity/types (INFO, WARNING, CRITICAL), and allows configurable thresholds for each alert type. When a threshold is crossed, a notification should be triggered for the user. Users can subscribe…

    From WEX | SDE3 | Interview

  2. 02

    Design a Seat‑Booking System like BookMyShow

    Design a system for booking seats for events (e.g., movies, concerts) with a focus on handling concurrent booking attempts. Requirements include: - Managing seat availability - Handling concurrent booking requests without double booking - Implementing…

    From WEX | SDE3 | Interview

  3. 03

    Payment System Design for Ticket Booking

    Design the payment component of a ticket booking system (similar to BookMyShow), covering the booking part as well.

    From WEX | SDE4 | Bengaluru | Reject

  4. 04

    Low-Level Design for a Product Feature

    I was asked an LLD question similar to Wex's actual product design. I had to describe database design, API contracts, class relationships, and possible extensibility points. Fundamentals of Docker, Kubernetes, and Kafka were also discussed.

    From Wex Interview Experience SDE2 | 2.9YOE | Jan26

  5. 05

    High-Level Design for a Product

    I had an HLD discussion on one of Wex's other products. This involved designing the overall architecture, database design, and proposing algorithms for solving the main use case.

    From Wex Interview Experience SDE2 | 2.9YOE | Jan26

Wex interview questions FAQ

What questions are asked in Wex interviews?

Candidates reported 13 distinct questions across 4 Wex interviews. 8 coding and DSA questions, 5 system design questions.