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 easterBasket; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.StringJoiner; | |
import java.util.stream.Collectors; | |
public class Basket { | |
private List<Egg> data; // 10, 3, 5, 42 list addEgg -> O(1) getStrongest -> O(N) |
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
internal class JqTest { | |
@Test | |
fun `wrapped foo`() { | |
val input = """ | |
{ | |
"foo": { | |
"bar": 42 | |
}, | |
"a": [1,2,3,4,5], |
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
public class Node<K, V> { | |
final K key; | |
final V value; | |
Node<K, V> next = null; | |
public Node(K key, V value) { | |
this.key = key; | |
this.value = value; | |
} |
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
[user] | |
name = Viktor Penelski | |
email = viktor.penelski@paysafe.com | |
[alias] | |
st = status -s | |
cmt = commit -m | |
br = branch | |
co = checkout | |
brn = symbolic-ref --short HEAD |