-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
83 lines (80 loc) · 3.48 KB
/
Copy pathindex.html
File metadata and controls
83 lines (80 loc) · 3.48 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
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>LeetCode Solutions</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Fira+Code:wght@400;500;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/styles/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css">
<link rel="icon" href="assets/favicon.svg" type="image/svg+xml" />
<meta name="description" content="Annotated C++ solutions for LeetCode problems." />
<meta property="og:title" content="LeetCode Solutions" />
<meta property="og:description" content="Annotated C++ solutions with clean code and explanations." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://emirhaninan.github.io/" />
<meta property="og:image" content="https://emirhaninan.github.io/assets/og/cover.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="description" content="Annotated C++ solutions for LeetCode problems" />
<meta name="robots" content="index,follow" />
<link rel="canonical" href="/" />
</head>
<body>
<a class="skip-link" href="#content">Skip to content</a>
<header class="site-header">
<div class="container">
<a class="site-title" href="./">⚡ LeetCode Solutions</a>
<div class="site-actions">
<button id="themeToggle" class="theme-toggle" aria-label="Toggle color theme">Toggle theme</button>
</div>
</div>
</header>
<main id="content" class="container" tabindex="-1">
<article class="post-card">
<header class="post-header">
<h1 class="post-title">LeetCode Solutions</h1>
<div class="post-meta">C++ implementations with clear explanations</div>
</header>
<div class="post-content">
<div class="post-list">
<a class="post-list-item" href="roman-to-int.html">
<div class="post-list-title">Roman to Integer</div>
<div class="post-list-date">Aug 20, 2025</div>
</a>
</div>
</div>
</article>
</main>
<footer class="site-footer">
<div class="container">
<p>© <span id="y"></span> · LeetCode Solutions</p>
</div>
</footer>
<script>document.getElementById('y').textContent = new Date().getFullYear();</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/cpp.min.js"></script>
<script>try{hljs.highlightAll();}catch(e){}</script>
<script>
(function(){
try {
var storageKey = 'theme-preference';
var el = document.documentElement;
var setTheme = function(theme){ el.setAttribute('data-theme', theme); };
var saved = localStorage.getItem(storageKey);
if (saved) setTheme(saved);
var btn = document.getElementById('themeToggle');
if (btn) {
btn.addEventListener('click', function(){
var current = el.getAttribute('data-theme') || '';
var next = current === 'dark' ? 'light' : 'dark';
setTheme(next);
localStorage.setItem(storageKey, next);
});
}
} catch (e) {}
})();
</script>
</body>
</html>