This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function hourglassSum(arr) { | |
let totalSum = 0; | |
for (let i = 2; i < arr.length; i++) { | |
for (let j = 2; j < arr.length; j++) { | |
let sum = arr[i][j] | |
+ arr[i][j-2] | |
+ arr[i][j-1] | |
+ arr[i-1][j-1] | |
+ arr[i-2][j] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2019-09-20T11:09:35.481Z","extensionVersion":"v3.4.2"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
settings-sync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#kickstart file for basic CentOS network installation | |
install | |
lang en_US.UTF-8 | |
keyboard us | |
network --bootproto=dhcp --device=eth0 --gateway=192.168.122.1 --hostname=centos7 --nameserver=192.168.122.1 | |
# packages location |