Baidu Coding Interview Questions

We track 11 coding questions asked at Baidu, tagged with the algorithms and concepts they test. The most common: Dynamic Programming, Array, Binary Search, Divide and Conquer, Greedy.

Browse all 11 Baidu questions →

Concept mix

Each question's weight is split evenly across its concepts, so the shares sum to 100%.

How many questions involve each concept

Share of all 11 tracked Baidu questions that touch each concept. Questions usually involve several, so these overlap.

Where Baidu differs from the average company

Concept weight at Baidu relative to the average across all companies we track. Green means Baidu leans on it harder than most.

Baidu specialties

Concepts that show up at Baidu but are rarely asked elsewhere. They are easy to get blindsided by.

Difficulty mix

Level split of the 11 tracked Baidu questions.

  • Mid/Senior55% (6)
  • Staff45% (5)

Every concept in Baidu interviews

ConceptQuestions% of questionsShare of mix
Dynamic Programming872.7%30.7%
Array545.5%16.2%
Binary Search218.2%4.5%
Divide and Conquer218.2%5.0%
Greedy218.2%4.5%
Hash Table218.2%5.8%
Memoization218.2%4.5%
Sliding Window218.2%5.8%
String218.2%4.5%
Binary Tree19.1%2.5%
Bit Manipulation19.1%2.5%
Breadth-First Search19.1%2.0%
Depth-First Search19.1%2.5%
Matrix19.1%2.5%
Prefix Sum19.1%2.0%
Stack19.1%2.0%
Tree19.1%2.5%

Practice a Baidu interview

Take a realistic AI-led mock interview with questions Baidu actually asks, with live voice and real feedback.

Start a mock interview

Your first interview is free · no credit card required