Skip to content

Instantly share code, notes, and snippets.

View inv-Ayiba's full-sized avatar
💭
I'm happening

Tari ogounga inv-Ayiba

💭
I'm happening
  • B&D
  • Port Harcourt, Rivers State, Nigeria
View GitHub Profile
package main
func packetDescrambler(seq []int, fragmentData []string, n int) string {
maxSeqIdx := func(numSlice []int) int {
max := numSlice[0]
for _, n := range numSlice[1:] {
if n > max {
max = n
}
}
@inv-Ayiba
inv-Ayiba / do-one-scale-hopefully-thanks-test.markdown
Created March 5, 2020 02:37
do one scale hopefully thanks test
@inv-Ayiba
inv-Ayiba / Calculate price method
Created January 19, 2018 17:49 — forked from udacityandroid/Calculate price method
Add to MainActivity.java
/**
* Calculates the price of the order.
*
* @param quantity is the number of cups of coffee ordered
*/
private void calculatePrice(int quantity) {
int price = quantity * 5;
}