HackerRankPractice
HackerRank算法练习:
目录格式:
- 原问题链接
- 问题概要
- 思路、步骤
- 代码
解决插件CodeRunner中文乱码:
-
File - Preferences - Settings
-
代码块里添加如下配置
{ "code-runner.executorMap": { "java": "cd $dir && javac -encoding utf-8 $fileName && java $fileNameWithoutExt" }, "code-runner.runInTerminal": false, }
# | Title | Tag |
---|---|---|
1 | Simple Array Sum | Array, Hash Table |
2 | Compare the Triplets | Math |
3 | A Very Big Sum | Math |
4 | Diagnal Difference | Math, String |
5 | Plus Minus | String |
6 | Staircase | Stack, String |
7 | Mini-Max Sum | Linked List |
8 | Birthday Cake Candles | Array, Two Pointers |
9 | Time Conversion | Array, Two Pointers |
28 | Grading Students | Two Pointers, String |
10 | Apple and Orange | String |
11 | Kangaroo | String |
12 | Between Two Sets | Array, Divide and Conquer, |
13 | Breaking the Records | Array, Divide and Conquer, |
14 | Birthday Chocolate | Array, Divide and Conquer, |
15 | Divisible Sum Pairs | Array, Divide and Conquer, |
16 | Migratory Birds | Array, Divide and Conquer, |
17 | Day of the Programmer | Array, Divide and Conquer, |
18 | Bon Appétit | Array, Divide and Conquer, |
19 | Sock Merchant | Array, Divide and Conquer, |
20 | Drawing Book | Array, Divide and Conquer, |
21 | Counting Valleys | Array, Divide and Conquer, |
22 | Electronics Shop | Array, Divide and Conquer, |
23 | Cats and a Mouse | Array, Divide and Conquer, |
24 | Picking Numbers | Array, Divide and Conquer, |
25 | Electronics the Hurdle Race | Array, Divide and Conquer, |
26 | Designer PDF Viewer | Array, Divide and Conquer, |
27 | Utopian Tree | Array, Divide and Conquer, |
28 | Angrey Professor | Array, Divide and Conquer, |
29 | Beautiful Days at the Movies | Array, Divide and Conquer, |
30 | Viral Advertising | Array, Divide and Conquer, |
31 | Save the Prisoner | Array, Divide and Conquer, |
32 | circularArrayRotation | Array, Divide and Conquer, |
33 | template | Array, Divide and Conquer, |
34 | template | Array, Divide and Conquer, |
35 | template | Array, Divide and Conquer, |
36 | template | Array, Divide and Conquer, |
# | Title | Tag |
---|---|---|
1 | Forming a Magic Square | Array, Hash Table |
2 | Climbing the Leaderboard | Math |
3 | template | Math |
# | Title | Tag |
---|---|---|
1 | template | Array, Hash Table |
2 | template | Math |
环境:
Version: 1.46.1 (system setup)
Commit: cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
Date: 2020-06-17T21:13:20.174Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
//understander later
- formingMagicSquare