Skip to content

Commit 7d6f0d5

Browse files
peanut996Interview Platform Bot
andauthored
[BOT] Add 1 new question (#62)
* [BOT] feat: Add 1 new question * feat: Add HTTP category and update coding categories --------- Co-authored-by: Interview Platform Bot <bot@example.com>
1 parent 683ada5 commit 7d6f0d5

File tree

2 files changed

+15
-34
lines changed

2 files changed

+15
-34
lines changed

data/questionBank.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3656,5 +3656,16 @@
36563656
],
36573657
"difficulty": "Medium",
36583658
"title": "Java线程池 ThreadPoolExecutor 为什么要使用高位存储runState"
3659+
},
3660+
{
3661+
"type": "Question",
3662+
"category": [
3663+
"Java",
3664+
"Java",
3665+
"Serialization",
3666+
"序列化"
3667+
],
3668+
"difficulty": "Medium",
3669+
"title": "Serialize 接口的作用是什么?serialVersionUID 呢?"
36593670
}
36603671
]

lib/types.ts

Lines changed: 4 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export enum QuestionCategory {
5454
TCP = 'TCP',
5555
UDP = 'UDP',
5656
IP = 'IP',
57+
HTTP = 'HTTP',
5758
Spring = 'Spring',
5859
Redis = 'Redis',
5960
MySQL = 'MySQL',
@@ -63,45 +64,19 @@ export enum QuestionCategory {
6364
OperationSystem = 'Operation System',
6465
SystemDesign = 'System Design',
6566

66-
// 新增的 HTML 相关分类
67-
HTML = 'HTML',
68-
BasicConcepts = 'Basic Concepts',
69-
Meta = 'Meta',
70-
DOM = 'DOM',
71-
SemanticHTML = 'Semantic HTML',
72-
DOMManipulation = 'DOM Manipulation',
73-
EventHandling = 'Event Handling',
74-
Performance = 'Performance',
75-
76-
// 新增的 CSS 相关分类
77-
CSS = 'CSS',
78-
Selectors = 'Selectors',
79-
BoxModel = 'Box Model',
80-
Layout = 'Layout',
81-
TextStyling = 'Text Styling',
82-
Positioning = 'Positioning',
83-
Visibility = 'Visibility',
84-
Units = 'Units',
85-
UI = 'UI',
86-
ZIndex = 'Z-index',
87-
88-
// 通用分类 (如果需要)
67+
Vue = 'Vue',
68+
React = 'React',
69+
8970
Frameworks = 'Frameworks',
9071
Tools = 'Tools',
9172

92-
// 编程语言
9373
JavaScript = 'JavaScript',
9474
TypeScript = 'TypeScript',
9575
Python = 'Python',
9676
C = 'C',
9777
Cpp = 'C++',
9878
Go = 'Go',
9979
Rust = 'Rust',
100-
PHP = 'PHP',
101-
CSharp = 'C#',
102-
Kotlin = 'Kotlin',
103-
Swift = 'Swift',
104-
Ruby = 'Ruby',
10580
}
10681

10782
export enum CodingCategory {
@@ -130,11 +105,6 @@ export enum CodingCategory {
130105

131106
// 排序算法
132107
Sorting = 'Sorting',
133-
BubbleSort = 'Bubble Sort',
134-
InsertionSort = 'Insertion Sort',
135-
SelectionSort = 'Selection Sort',
136-
MergeSort = 'Merge Sort',
137-
QuickSort = 'Quick Sort',
138108

139109
// 查找算法
140110
Searching = 'Searching',

0 commit comments

Comments
 (0)