Problem database last updated: June 20, 2025

NNike logo

Nike Coding Interview Questions

10 problems · 3 Easy, 6 Medium, 1 Hard · Ranked #143 of 458

Difficulty breakdown

3 Easy

30% · avg 23%

6 Medium

60% · avg 59%

1 Hard

10% · avg 18%

Top topics

array
50%
hash-table
20%
two-pointers
20%1.5x
stack
20%2.3x
design
20%3.5x
dynamic-programming
20%

Interview profile

Based on 10 reported problems, Nike interviews are in line with industry averages - 10% Hard vs 18% overall. The majority (60%) 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, Nike puts unusual emphasis on design (20% of problems, 3.5x the industry average), greedy (20% of problems, 2.4x the industry average), stack (20% of problems, 2.3x the industry average). If you're short on time, these are the categories to double down on.

The most common topics are array (50%), hash-table (20%), two-pointers (20%), stack (20%). Problems below are sorted by frequency, the ones at the top are asked most often.

All 10 problems

Happy Number

Solve

Write an algorithm to determine if a number n is happy.

EasyVery Likely
hash-tablemathtwo-pointers

Diagonal Traverse

Solve

Given an m x n matrix mat, return an array of all the elements of the array in a diagonal order.

MediumVery Likely
arraymatrixsimulation

Min Stack

Solve

Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.

MediumVery Likely
stackdesign

Next Permutation

Solve

A permutation of an array of integers is an arrangement of its members into a sequence or linear order.

MediumVery Likely
arraytwo-pointers

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

Can Place Flowers

Solve

You have a long flowerbed in which some of the plots are planted, and some are not. However, flowers cannot be planted in adjacent plots.

EasyVery Likely
arraygreedy

Valid Parentheses

Solve

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

EasyVery Likely
stringstack

Design Graph With Shortest Path Calculator

Solve

There is a directed weighted graph that consists of n nodes numbered from 0 to n - 1. The edges of the graph are initially represented by the given array edges...

HardVery Likely
graphdesignheap-priority-queue

Best Time to Buy and Sell Stock II

Solve

You are given an integer array prices where prices[i] is the price of a given stock on the ith day.

MediumVery Likely
arraydynamic-programminggreedy

Longest Substring Without Repeating Characters

Solve

Given a string s, find the length of the longest substring without duplicate characters.

MediumVery Likely
hash-tablestringsliding-window

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 Nike interviews.

Very Likely

75-100%

Likely

50-74%

Sometimes

25-49%

Rare

0-24%

Preparing for your Nike coding interview

Nike interviews focus heavily on array, hash-table, two-pointers 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. Nike 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 Nike ask in interviews?add

Nike has been reported to ask 10 distinct coding problems. The most common topics are array, hash-table, two-pointers. 3 are Easy difficulty, 6 are Medium, and 1 are Hard. Problems are sorted by frequency - the ones at the top are asked most often.

How hard are Nike coding interviews?add

Based on 10 reported problems, Nike interviews are in line with industry averages - 10% Hard vs 18% overall. 60% 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 Nike coding interview?add

Start with the highest-frequency problems listed on this page. Focus on the core topics: array, hash-table, two-pointers. 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 Nike interview?

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

Simulate a Nike interview with AIarrow_forward