diff --git a/website/sidebars.js b/website/sidebars.js index 1908b13a..afea859f 100755 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -54,24 +54,52 @@ module.exports = { { 'Algorithms study cheatsheets': [ 'algorithms/study-cheatsheet', - 'algorithms/array', - 'algorithms/string', - 'algorithms/hash-table', - 'algorithms/recursion', - 'algorithms/sorting-searching', - 'algorithms/matrix', - 'algorithms/linked-list', - 'algorithms/queue', - 'algorithms/stack', - 'algorithms/tree', - 'algorithms/graph', - 'algorithms/heap', - 'algorithms/trie', - 'algorithms/interval', - 'algorithms/dynamic-programming', - 'algorithms/binary', - 'algorithms/math', - 'algorithms/geometry', + { + type: 'category', + label: 'Basics', + collapsible: false, + items: [ + 'algorithms/array', + 'algorithms/string', + 'algorithms/hash-table', + 'algorithms/recursion', + 'algorithms/sorting-searching', + ], + }, + { + type: 'category', + label: 'Data structures', + collapsible: false, + items: [ + 'algorithms/matrix', + 'algorithms/linked-list', + 'algorithms/queue', + 'algorithms/stack', + 'algorithms/interval', + ], + }, + { + type: 'category', + label: 'Advanced data structures', + collapsible: false, + items: [ + 'algorithms/tree', + 'algorithms/graph', + 'algorithms/heap', + 'algorithms/trie', + ], + }, + { + type: 'category', + label: 'Additional', + collapsible: false, + items: [ + 'algorithms/dynamic-programming', + 'algorithms/binary', + 'algorithms/math', + 'algorithms/geometry', + ], + }, ], }, {