- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
| // WARNING! | |
| // source code ini untuk membantu belajar ya.. | |
| // buat yang udah nyoba dan belum accepted, ini bisa buat belajar, | |
| // tapi yang belum nyoba, jangan liat kodingan ini, coba latihan dulu, OK?! ini hanya contoh kodenya, jadi ada cara lain yg | |
| // lebih cepet, nah.. cari coba deh dicari cara yang lebih efisien.. ^_^ | |
| // Nomor 13 | |
| #include <stdio.h> |
| license: gpl-3.0 |
| license: gpl-3.0 |
| license: gpl-3.0 |
| license: mit |
| license: gpl-3.0 |
| border: no | |
| license: MIT |
| // Second Great Low | |
| function secondGreatLow(arr) { | |
| let result = []; | |
| let sortedArr = arr.sort((a,b) => a-b); | |
| // turn into Set data structure first, then convert it again to array | |
| sortedArr = [...new Set(sortedArr)]; | |
| const length = sortedArr.length; | |
| // need more info on how many numbers minimum that must be returned |
| :root { | |
| --font-size: 15.5px; | |
| --font-color: hsl(205, 23%, 16%); | |
| --font-color-lighter: hsl(0, 0%, 40%); | |
| --font-color-placeholder: hsl(0, 0%, 70%); | |
| --link-color: hsl(203, 82%, 35%); | |
| --selection-color: hsl(203, 100%, 74%); | |
| --ref-hover-bg-color: hsl(204, 33%, 97%); | |
| --border-color: rgba(0, 0, 0, 0.12); | |
| --subtle-border-color: rgba(0, 0, 0, 0.07); |