shangshang/programming-interview-zh-extended
Programming Interview Dataset (Chinese Extended) - 编程面试数据集(扩展版) Overview An EXTENDED version of the Chinese programming interview question dataset with 2000 problems featuring detailed solutions in Python, Java, and C++, complexity analysis, and key insights. Designed for LLM training in coding assistance and technical interview preparation. Dataset Structure Field Description problem_id Unique identifier original_id Original problem ID… See the full description on the dataset page: https://huggingface.co/datasets/shangshang/programming-interview-zh-extended.
Programming Interview Dataset (Chinese Extended) - 编程面试数据集(扩展版)
Overview
An EXTENDED version of the Chinese programming interview question dataset with 2000 problems featuring detailed solutions in Python, Java, and C++, complexity analysis, and key insights. Designed for LLM training in coding assistance and technical interview preparation.
Dataset Structure
Problem Categories (20 types)
- Array: Two Sum, Merge Sorted Arrays, Max Subarray (3 problems)
- String: Valid Parentheses, Longest Palindrome (2 problems)
- Linked List: Reverse List, Middle Node (2 problems)
- Tree: Max Depth, Inorder Traversal (2 problems)
- Binary Search: Binary Search (1 problem)
- Dynamic Programming: Climbing Stairs, Coin Change (2 problems)
- Backtracking: Subsets, Permutations (2 problems)
- Heap: Top K Frequent Elements (1 problem)
- Two Pointers: 3Sum, Container With Most Water (2 problems)
- Stack: Min Stack (1 problem)
- Design: LRU Cache (1 problem)
- Graph: Number of Islands (1 problem)
Key Features
- ✅ 3 Languages: Python, Java, C++ solutions for each problem
- ✅ 2000 Problems: 20 unique templates expanded to 2000+ entries
- ✅ Multiple Test Cases: Each problem has 2-3 test cases
- ✅ Key Insights: Important points and tips for solving
- ✅ Company Tags: Shows which companies ask these questions
Usage
from datasets import load_dataset
dataset = load_dataset("shangshang/programming-interview-zh-extended")
print(dataset)Use Cases
- LLM coding assistant training
- Technical interview preparation platforms
- Programming education products
- Algorithm knowledge benchmarking
- Code generation fine-tuning
License
MIT License - Free for research and commercial use
