-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlist.html
More file actions
69 lines (65 loc) · 2.36 KB
/
list.html
File metadata and controls
69 lines (65 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<title>연결 리스트 시뮬레이터</title>
<link rel="stylesheet" href="css/base.css" />
<link rel="stylesheet" href="css/layout.css" />
<link rel="stylesheet" href="css/components.css" />
<link rel="stylesheet" href="css/pages/list.css" />
</head>
<body class="page-list">
<div class="main-container">
<div class="header-area">
<a href="index.html" class="back-btn">← 뒤로가기</a>
<h1 class="simulator-title">연결 리스트 시뮬레이터</h1>
</div>
<div class="simulator-box">
<div class="control-group">
<select
id="listTypeSelect"
class="control-select type-select"
>
<option value="singly">단일 연결 리스트</option>
<option value="doubly">양방향 연결 리스트</option>
<option value="circular">원형 연결 리스트</option>
</select>
<input
type="text"
id="listInput"
class="control-input value-input"
placeholder="값 입력"
/>
<button id="listAddFrontBtn" class="btn btn-purple">맨앞 추가</button>
<button id="listAddLastBtn" class="btn btn-purple">맨뒤 추가</button>
</div>
<div class="control-group">
<input
type="number"
id="listIndex"
class="control-input index-input"
placeholder="인덱스"
/>
<button id="listInsertBtn" class="btn btn-green">
중간 삽입 O(n)
</button>
<button id="listRemoveBtn" class="btn btn-red">중간 삭제 O(n)</button>
<button id="listSearchBtn" class="btn btn-blue">값 검색 O(n)</button>
<button id="listReverseBtn" class="btn btn-orange">
리스트 역순
</button>
</div>
<div
id="list-visualizer"
class="visualizer-area list-visualizer"
></div>
<div class="info-panel">
• 노드 개수: <span id="listSize" class="stat-value">0</span><br />
• 리스트 타입:
<span id="listTypeLabel" class="stat-value">단일 연결 리스트</span>
</div>
</div>
</div>
<script type="module" src="js/main.js"></script>
</body>
</html>