Commit b4ed835
committed
fix: address second round of code review findings for Sherlock and Divisors
- Fix set notation: {k|k|(n/2)} → { k | k∣(n/2) } (and left-hand side)
- Replace nav.innerHTML template literals with DOM createElement/textContent
- Add setErr('') to preset button onClick handlers to clear validation state
- Fix public file: Prism theme CSS CDN → /vendor/prismjs/themes/prism-tomorrow.min.css1 parent 003473a commit b4ed835
3 files changed
Lines changed: 29 additions & 17 deletions
File tree
- Mathematics/Fundamentals/HackerRank/Claude/Easy/Sherlock and Divisors
- public
- Mathematics/Fundamentals/HackerRank/Claude/Easy/Sherlock and Divisors
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1321 | 1321 | | |
1322 | 1322 | | |
1323 | 1323 | | |
| 1324 | + | |
1324 | 1325 | | |
1325 | 1326 | | |
1326 | 1327 | | |
| |||
1482 | 1483 | | |
1483 | 1484 | | |
1484 | 1485 | | |
1485 | | - | |
| 1486 | + | |
1486 | 1487 | | |
1487 | 1488 | | |
1488 | 1489 | | |
| |||
2093 | 2094 | | |
2094 | 2095 | | |
2095 | 2096 | | |
2096 | | - | |
2097 | | - | |
2098 | | - | |
2099 | | - | |
2100 | | - | |
2101 | | - | |
2102 | | - | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
2103 | 2109 | | |
2104 | 2110 | | |
2105 | 2111 | | |
| |||
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1321 | 1321 | | |
1322 | 1322 | | |
1323 | 1323 | | |
| 1324 | + | |
1324 | 1325 | | |
1325 | 1326 | | |
1326 | 1327 | | |
| |||
1482 | 1483 | | |
1483 | 1484 | | |
1484 | 1485 | | |
1485 | | - | |
| 1486 | + | |
1486 | 1487 | | |
1487 | 1488 | | |
1488 | 1489 | | |
| |||
2093 | 2094 | | |
2094 | 2095 | | |
2095 | 2096 | | |
2096 | | - | |
2097 | | - | |
2098 | | - | |
2099 | | - | |
2100 | | - | |
2101 | | - | |
2102 | | - | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
2103 | 2109 | | |
2104 | 2110 | | |
2105 | 2111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
794 | | - | |
| 794 | + | |
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
| |||
0 commit comments