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
Kyle K. | |
Kei H. | |
kahron s. | |
Alan H. | |
Ashita A. | |
Shahir A. | |
Moin B. | |
Mustafa T. | |
arib k. | |
Omar K. |
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
{table && ( | |
<FormField | |
label="Group by" | |
width="33.33%" | |
paddingLeft={1} | |
marginBottom={0} | |
> | |
<FieldPickerSynced | |
table={table} | |
globalConfigKey={ |
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
package main | |
import ( | |
"fmt" | |
) | |
// default parameters | |
var list []int | |
var biggerNum int | |
var i int = 1 |
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
func solution8(num1, num2 int) int { | |
var list []int | |
var biggerNum int | |
if num1 > num2 { | |
biggerNum = num1 | |
} else { | |
biggerNum = num2 | |
} | |
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
const solution = (num1, num2, common = [], i = 2) => { | |
if (num1 % i === 0 && num2 % i === 0) common.push(i); | |
if (i === num1 || i === num2) return Math.max(...common); | |
return solution(num1, num2, common, i + 1); | |
}; |
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
package main | |
import ( | |
"time" | |
"fmt" | |
"sync" | |
) | |
func newFunc(b int, fn func()) func() { | |
return func() { |
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
const solution = (num1, num2, func) => { | |
setTimeout(() => { | |
func(); | |
setTimeout(() => func(), num2); | |
}, num1); | |
}; | |
// Test by checking to see if console.log's | |
// are being printed out accordingly. | |
const testFunc = () => console.log("hello"); |
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
package main | |
import ( | |
"fmt" | |
) | |
var i int = 1 | |
func solution9(num int) int { |
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
const solution = (num, i = 0) => { | |
if ((num + i) % 7 === 0) return num + i; | |
return solution(num, i + 1); | |
}; |
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
a = "hello"; | |
// prints out hello | |
b = 6; | |
// prints out 6 | |
a + b; | |
// prints out hello6 |
NewerOlder