Problem database last updated: June 20, 2025

WWix logo

Wix Coding Interview Questions

51 problems · 16 Easy, 29 Medium, 6 Hard · Ranked #41 of 458

Difficulty breakdown

16 Easy

31% · avg 23%

29 Medium

57% · avg 59%

6 Hard

12% · avg 18%

Top topics

array
54.9%
string
37.3%
hash-table
29.4%
depth-first-search
19.6%2.1x
math
15.7%
two-pointers
15.7%

Interview profile

Based on 51 reported problems, Wix interviews are in line with industry averages - 12% Hard vs 18% overall. The majority (57%) of questions are Medium difficulty, which is typical for companies that want to see solid fundamentals without excessive trick questions.

Compared to the industry average, Wix puts unusual emphasis on binary-search-tree (3.9% of problems, 3.5x the industry average), binary-tree (13.7% of problems, 2.8x the industry average), tree (13.7% of problems, 2.5x the industry average). If you're short on time, these are the categories to double down on.

The most common topics are array (54.9%), string (37.3%), hash-table (29.4%), depth-first-search (19.6%). Problems below are sorted by frequency, the ones at the top are asked most often.

All 51 problems

Integer to Roman

Solve

Seven different symbols represent Roman numerals with the following values:

MediumVery Likely
hash-tablemathstring

Number of Islands

Solve

Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands.

MediumVery Likely
arraydepth-first-searchbreadth-first-search

Merge Intervals

Solve

Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cove...

MediumVery Likely
arraysorting

Longest Palindromic Substring

Solve

Given a string s, return the longest palindromic substring in s.

MediumVery Likely
two-pointersstringdynamic-programming

Container With Most Water

Solve

You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, height[i]).

MediumVery Likely
arraytwo-pointersgreedy

Unique Morse Code Words

Solve

International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows:

EasyVery Likely
arrayhash-tablestring

Minimum Distance Between BST Nodes

Solve

Given the root of a Binary Search Tree (BST), return the minimum difference between the values of any two different nodes in the tree.

EasyVery Likely
treedepth-first-searchbreadth-first-search

Add Two Numbers

Solve

You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a sing...

MediumVery Likely
linked-listmathrecursion

Design HashSet

Solve

Design a HashSet without using any built-in hash table libraries.

EasyVery Likely
arrayhash-tablelinked-list

Is Subsequence

Solve

Given two strings s and t, return true if s is a subsequence of t, or false otherwise.

EasyVery Likely
two-pointersstringdynamic-programming

Pow(x, n)

Solve

Implement pow(x, n), which calculates x raised to the power n (i.e., xn).

MediumVery Likely
mathrecursion

Binary Tree Right Side View

Solve

Given the root of a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom.

MediumVery Likely
treedepth-first-searchbreadth-first-search

Trapping Rain Water

Solve

Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining.

HardVery Likely
arraytwo-pointersdynamic-programming

Merge Two Sorted Lists

Solve

You are given the heads of two sorted linked lists list1 and list2.

EasyVery Likely
linked-listrecursion

Clone Graph

Solve

Given a reference of a node in a connected undirected graph.

MediumVery Likely
hash-tabledepth-first-searchbreadth-first-search

Unique Email Addresses

Solve

Every valid email consists of a local name and a domain name, separated by the '@' sign. Besides lowercase letters, the email may contain one or more '.' or '+'...

EasyVery Likely
arrayhash-tablestring

Invalid Transactions

Solve

A transaction is possibly invalid if:

MediumVery Likely
arrayhash-tablestring

3Sum

Solve

Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0.

MediumVery Likely
arraytwo-pointerssorting

Maximum Subarray

Solve

Given an integer array nums, find the subarray with the largest sum, and return its sum.

MediumVery Likely
arraydivide-and-conquerdynamic-programming

Intersection of Two Arrays

Solve

Given two integer arrays nums1 and nums2, return an array of their intersection. Each element in the result must be unique and you may return the result in any...

EasyVery Likely
arrayhash-tabletwo-pointers

All Nodes Distance K in Binary Tree

Solve

Given the root of a binary tree, the value of a target node target, and an integer k, return an array of the values of all nodes that have a distance k from the...

MediumVery Likely
hash-tabletreedepth-first-search

Copy List with Random Pointer

Solve

A linked list of length n is given such that each node contains an additional random pointer, which could point to any node in the list, or null.

MediumVery Likely
hash-tablelinked-list

Subdomain Visit Count

Solve

A website domain "discuss.leetcode.com" consists of various subdomains. At the top level, we have "com", at the next level, we have "leetcode.com" and at the lo...

MediumVery Likely
arrayhash-tablestring

Employees Earning More Than Their Managers

Solve

Table: Employee

EasyVery Likely
database

Validate Binary Search Tree

Solve

Given the root of a binary tree, determine if it is a valid binary search tree (BST).

MediumVery Likely
treedepth-first-searchbinary-search-tree

Verifying an Alien Dictionary

Solve

In an alien language, surprisingly, they also use English lowercase letters, but possibly in a different order. The order of the alphabet is some permutation of...

EasyVery Likely
arrayhash-tablestring

Move Zeroes

Solve

Given an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero elements.

EasyVery Likely
arraytwo-pointers

Palindrome Pairs

Solve

You are given a 0-indexed array of unique strings words.

HardVery Likely
arrayhash-tablestring

Power of Four

Solve

Given an integer n, return true if it is a power of four. Otherwise, return false.

EasyVery Likely
mathbit-manipulationrecursion

Search Suggestions System

Solve

You are given an array of strings products and a string searchWord.

MediumVery Likely
arraystringbinary-search

Binary Tree Maximum Path Sum

Solve

A path in a binary tree is a sequence of nodes where each pair of adjacent nodes in the sequence has an edge connecting them. A node can only appear in the sequ...

HardVery Likely
dynamic-programmingtreedepth-first-search

K Closest Points to Origin

Solve

Given an array of points where points[i] = [xi, yi] represents a point on the X-Y plane and an integer k, return the k closest points to the origin (0, 0).

MediumVery Likely
arraymathdivide-and-conquer

Longest String Chain

Solve

You are given an array of words where each word consists of lowercase English letters.

MediumVery Likely
arrayhash-tabletwo-pointers

Lowest Common Ancestor of a Binary Tree

Solve

Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.

MediumVery Likely
treedepth-first-searchbinary-tree

Diameter of Binary Tree

Solve

Given the root of a binary tree, return the length of the diameter of the tree.

EasyVery Likely
treedepth-first-searchbinary-tree

Median of Two Sorted Arrays

Solve

Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays.

HardVery Likely
arraybinary-searchdivide-and-conquer

Strong Password Checker

Solve

A password is considered strong if the below conditions are all met:

HardVery Likely
stringgreedyheap-priority-queue

Rotting Oranges

Solve

You are given an m x n grid where each cell can have one of three values:

MediumVery Likely
arraybreadth-first-searchmatrix

Decode String

Solve

Given an encoded string, return its decoded string.

MediumVery Likely
stringstackrecursion

Word Search II

Solve

Given an m x n board of characters and a list of strings words, return all words on the board.

HardLikely
arraystringbacktracking

Roman to Integer

Solve

Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.

EasyLikely
hash-tablemathstring

Subsets

Solve

Given an integer array nums of unique elements, return all possible subsets (the power set).

MediumLikely
arraybacktrackingbit-manipulation

Reconstruct Original Digits from English

Solve

Given a string s containing an out-of-order English representation of digits 0-9, return the digits in ascending order.

MediumLikely
hash-tablemathstring

As Far from Land as Possible

Solve

Given an n x n grid containing only values 0 and 1, where 0 represents water and 1 represents land, find a water cell such that its distance to the nearest land...

MediumLikely
arraydynamic-programmingbreadth-first-search

Escape The Ghosts

Solve

You are playing a simplified PAC-MAN game on an infinite 2-D grid. You start at the point [0, 0], and you are given a destination point target = [xtarget, ytarg...

MediumLikely
arraymath

Word Search

Solve

Given an m x n grid of characters board and a string word, return true if word exists in the grid.

MediumLikely
arraystringbacktracking

Find Peak Element

Solve

A peak element is an element that is strictly greater than its neighbors.

MediumSometimes
arraybinary-search

Pascal's Triangle

Solve

Given an integer numRows, return the first numRows of Pascal's triangle.

EasySometimes
arraydynamic-programming

Valid Parentheses

Solve

Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.

EasySometimes
stringstack

Two Sum

Solve

Given an array of integers nums and an integer target, return the indices of the two numbers that add up to target.

EasySometimes
arrayhash-map

Count and Say

Solve

The count-and-say sequence is a sequence of digit strings defined by the recursive formula:

MediumSometimes
string

How often are these problems asked?

Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Wix interviews.

Very Likely

75-100%

Likely

50-74%

Sometimes

25-49%

Rare

0-24%

Preparing for your Wix coding interview

Wix interviews focus heavily on array, string, hash-table problems. If you're short on time, these are the categories to prioritize. The problems on this page are sorted by frequency, so start from the top and work your way down.

Beyond solving problems, practice explaining your approach. Wix interviewers care about your thought process - how you break down a problem, consider edge cases, and evaluate tradeoffs between solutions. A clean O(n) solution you can explain clearly beats an O(log n) solution you can't articulate.

Looking for more companies? Browse all 458 companies in our directory, or sharpen your fundamentals with our free data structure visualizers and AI-powered DSA tutor.

Frequently Asked Questions

What coding problems does Wix ask in interviews?add

Wix has been reported to ask 51 distinct coding problems. The most common topics are array, string, hash-table. 16 are Easy difficulty, 29 are Medium, and 6 are Hard. Problems are sorted by frequency - the ones at the top are asked most often.

How hard are Wix coding interviews?add

Based on 51 reported problems, Wix interviews are in line with industry averages - 12% Hard vs 18% overall. 57% of questions are Medium difficulty. Focus on the high-frequency Medium problems first, then work through the Hard ones.

How should I prepare for a Wix coding interview?add

Start with the highest-frequency problems listed on this page. Focus on the core topics: array, string, hash-table. Practice solving them under time pressure and explaining your approach out loud. Mock interviews with AI can simulate the real experience.

Other companies to explore

Ready to ace your Wix interview?

Simulate a real Wix coding interview with an AI interviewer. Get a scorecard with specific feedback on your problem-solving, code quality, and communication.

Simulate a Wix interview with AIarrow_forward