Skip to content

Interview Solver

FeaturesPricingHelp
Sign In
FeaturesPricingHelpSign In
  1. Interview Questions
  2. /
  3. Baidu

Baidu LeetCode Interview Questions

Practice 39 real coding problems frequently asked in Baidu technical interviews. Master these questions to ace your next Baidu software engineering interview.

10 Easy
23 Medium
6 Hard

Top Topics at Baidu

ArrayStringHash TableTwo PointersMath

Ace your Baidu interview with AI

Get real-time AI assistance during your actual interview. Invisible to screensharing.

Start Free Trial

Baidu Interview Problems

ProblemDifficultyDiffFrequencyTopicsAction
Palindromic Substrings
100%
MediumM
100%
Two PointersString+1
Solve→
Friends Of Appropriate Ages
95%
MediumM
95%
ArrayTwo Pointers+2
Solve→
Group Shifted Strings
87%
MediumM
87%
ArrayHash Table+1
Solve→
Construct String With Repeat Limit
82%
MediumM
82%
Hash TableString+3
Solve→
Rotting Oranges
79%
MediumM
79%
ArrayBreadth-First Search+1
Solve→
K Closest Points to Origin
78%
MediumM
78%
ArrayMath+5
Solve→
Minimum Operations to Make Character Frequencies Equal
73%
HardH
73%
Hash TableString+3
Solve→
Zero Array Transformation III
73%
MediumM
73%
ArrayGreedy+3
Solve→
Clone Graph
72%
MediumM
72%
Hash TableDepth-First Search+2
Solve→
Koko Eating Bananas
71%
MediumM
71%
ArrayBinary Search
Solve→
Open the Lock
68%
MediumM
68%
ArrayHash Table+2
Solve→
Zero Array Transformation II
67%
MediumM
67%
ArrayBinary Search+1
Solve→
Binary Tree Zigzag Level Order Traversal
67%
MediumM
67%
TreeBreadth-First Search+1
Solve→
Merge Sorted Array
65%
EasyE
65%
ArrayTwo Pointers+1
Solve→
Trips and Users
65%
HardH
65%
Database
Solve→
Pow(x, n)
63%
MediumM
63%
MathRecursion
Solve→
Continuous Subarrays
60%
MediumM
60%
ArrayQueue+4
Solve→
All Nodes Distance K in Binary Tree
60%
MediumM
60%
Hash TableTree+3
Solve→
Flood Fill
58%
EasyE
58%
ArrayDepth-First Search+2
Solve→
Remove Duplicates from Sorted Array
58%
EasyE
58%
ArrayTwo Pointers
Solve→
Logger Rate Limiter
57%
EasyE
57%
Hash TableDesign+1
Solve→
Continuous Subarray Sum
52%
MediumM
52%
ArrayHash Table+2
Solve→
Insert Delete GetRandom O(1)
52%
MediumM
52%
ArrayHash Table+3
Solve→
Valid Number
50%
HardH
50%
String
Solve→
Zigzag Conversion
46%
MediumM
46%
String
Solve→

Pass your interview with AI assistance

Get real-time solutions during your actual coding interview. Invisible to screensharing.

Start Free Trial
Letter Combinations of a Phone Number
45%
MediumM
45%
Hash TableString+1
Solve→
Find the Index of the First Occurrence in a String
42%
EasyE
42%
Two PointersString+1
Solve→
Diameter of Binary Tree
38%
EasyE
38%
TreeDepth-First Search+1
Solve→
Integer to English Words
35%
HardH
35%
MathString+1
Solve→
Longest Repeating Character Replacement
33%
MediumM
33%
Hash TableString+1
Solve→
Missing Ranges
29%
EasyE
29%
Array
Solve→
Find K Closest Elements
25%
MediumM
25%
ArrayTwo Pointers+4
Solve→
Custom Sort String
24%
MediumM
24%
Hash TableString+1
Solve→
Search Insert Position
24%
EasyE
24%
ArrayBinary Search
Solve→
Basic Calculator
24%
HardH
24%
MathString+2
Solve→
Two Sum II - Input Array Is Sorted
23%
MediumM
23%
ArrayTwo Pointers+1
Solve→
Valid Palindrome
23%
EasyE
23%
Two PointersString
Solve→
Insert Delete GetRandom O(1) - Duplicates allowed
23%
HardH
23%
ArrayHash Table+3
Solve→
Two Sum
22%
EasyE
22%
ArrayHash Table
Solve→

Similar Companies

Explore interview questions from other companies with similar interview patterns.

6sense
39 problems
Bitdefender
39 problems
Ciklum
39 problems
Dropbox
39 problems
Glovo
39 problems
Hcl Technologies
39 problems

Frequently Asked Questions

What LeetCode problems does Baidu ask in interviews?

Baidu commonly asks 39 coding problems in technical interviews, including Palindromic Substrings, Friends Of Appropriate Ages, Group Shifted Strings. The difficulty breakdown is 10 Easy, 23 Medium, and 6 Hard problems.

How should I prepare for a Baidu coding interview?

Focus on the most frequently asked problems first, especially those with high frequency scores. Baidu interviews typically emphasize Array and String. Practice explaining your thought process while coding.

What is the difficulty level of Baidu coding interviews?

Based on our data, Baidu interviews include 10 Easy (26%), 23 Medium (59%), and 6 Hard (15%) problems.

Ready to ace your Baidu interview?

Join thousands of engineers who landed offers at top tech companies.

Get Started Free

No credit card required

All CompaniesEasy ProblemsMedium ProblemsHard ProblemsBrowse by Topic
Interview Solver
  • Home
  • Pricing
  • Sign in
  • Contact
  • Blog
  • Companion
  • Help Center
  • Use Cases
  • Software Engineer
  • Product Manager
  • Misc
  • Privacy Policy
  • Terms and Conditions
  • Discord Community
  • Affiliate Program
  • Compare
  • All Comparisons
  • vs Final Round AI
  • vs UltraCode
  • vs Interview Coder
  • vs LockedIn AI
  • vs AI Apply
  • Free Tools
  • ATS Resume Checker
  • STAR Method Builder
  • Salary Lookup
  • Big O Cheat Sheet
  • Total Comp Calculator
  • View All →
  • Interview Questions
  • Google Questions
  • Amazon Questions
  • Microsoft Questions
  • Meta Questions
  • Apple Questions
  • TikTok Questions
  • View All →
© 2026 Interview Solver, Inc. All rights reserved.