We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2922089 commit 84b8d47Copy full SHA for 84b8d47
lcci/README.md
@@ -8,7 +8,7 @@
8
9
列表所有题解均由 [开源社区 Doocs](https://github.com/doocs) 贡献者提供,正在完善中,欢迎贡献你的题解!
10
11
-快速搜索题号、题解、标签等,请善用 <kbd>Control</kbd>+<kbd>F</kbd>(或者 <kbd>Command</kbd>+<kbd>F</kbd>)。
+快速搜索题号、题解、标签等,请善用 <kbd>Control</kbd> + <kbd>F</kbd>(或者 <kbd>Command</kbd> + <kbd>F</kbd>)。
12
13
| 题号 | 题解 | 标签 | 难度 |
14
| --------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | --------------------------------------------- | ---- |
lcci/README_EN.md
@@ -6,7 +6,7 @@ _Cracking the Coding Interview, 6th Edition_ is here to help you through this pr
6
7
## Solutions
-Press <kbd>Control</kbd>+<kbd>F</kbd>(or <kbd>Command</kbd>+<kbd>F</kbd> on the Mac) to search anything you want.
+Press <kbd>Control</kbd> + <kbd>F</kbd>(or <kbd>Command</kbd> + <kbd>F</kbd> on the Mac) to search anything you want.
| # | Solution | Tag | Difficulty |
| --------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ | ---------- |
lcof/README.md
@@ -10,7 +10,7 @@
+快速搜索题号、题解、标签等,请善用 <kbd>Control</kbd>+<kbd>F</kbd>(或者 <kbd>Command</kbd> + <kbd>F</kbd>)。
15
16
| ---------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ---- |
lcof/README_EN.md
@@ -12,7 +12,7 @@ Readers will improve their interview performance after reading this book. It wil
English Solutions is not available for the book. Please switch to Chinese version.
+Press <kbd>Control</kbd>+<kbd>F</kbd>(or <kbd>Command</kbd> + <kbd>F</kbd> on the Mac) to search anything you want.
17
## Copyright
18
lcof2/README.md
| 题号 | 题解 | 标签 | 难度 | 备注 |
| ------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ---- | ---- |
lcp/README.md
@@ -4,7 +4,7 @@
4
5
| -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------- | ---- |
lcs/README.md
| ---------------------------------------------- | -------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ---- | ---- |
main.js
@@ -2,8 +2,9 @@ const isEn = () => location.hash.includes('README_EN');
2
3
const isRoot = () => ['', '#/', '#/README', '#/README_EN'].includes(location.hash);
+const categories = ['javascript', 'database'];
+
const getSolutionPrefix = url => {
- const categories = ['javascript', 'database'];
const res = categories.find(
category =>
url.includes(category + '-solution') ||
@@ -39,9 +40,10 @@ const giscusTheme = () =>
39
40
const getTerm = () => {
41
let path = decodeURI(location.hash.slice(1, location.hash.lastIndexOf('/'))) || '/index';
42
// restore original path
- for (const prefix of ['javascript', 'database']) {
43
- if (path.includes(prefix + '-solution')) {
44
- path = path.replace(prefix + '-solution', 'solution');
+ for (const prefix of categories) {
+ const s = `${prefix}-solution`;
45
+ if (path.includes(s)) {
46
+ path = path.replace(s, 'solution');
47
}
48
49
return path;
solution/DATABASE_README.md
@@ -6,7 +6,7 @@
| ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | ---- | ---- |
solution/DATABASE_README_EN.md
| # | Solution | Tags | Difficulty | Remark |
| ---- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ---------- | ------ |
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments