- Add to original:
arr.push
arr.unshift
import styled from "styled-components"; | |
const mobile = "601px"; | |
const boxSize = "60px"; | |
const delay = "0.2s"; | |
const barSize = "5px"; | |
const barColor = "black"; | |
const Box = styled.div` | |
position: relative; |
import java.util.ArrayList; | |
class Solution { | |
public List<String> letterCombinations(String digits) { | |
ArrayList<String> output = new ArrayList<>(); | |
String[] arr = getLettersArr(digits); | |
if (digits.isEmpty()) return output; | |
recur(arr, "", output); | |
/* Simplest CSS Reset */ | |
*, *::before, *::after { | |
box-sizing: border-box | |
} | |
* { | |
margin: 0; | |
padding: 0; | |
font: inherit; |
/** | |
* DnD 5e Waterdeep campaign includes a Tavern controlled by players, that for | |
* every 10-day cycle, must have upkeep given but also can earn income from | |
* the business. That net income is determined by dice roll. However, players | |
* may opt to add a --marketing budget-- which adds on to the dice roll... | |
* but at what (literal) cost? | |
* | |
* To answer the question of which amount of gold would grant best return on | |
* investment, I wrote this to run scenarios to determine, over many iterations, | |
* what the best choice of marketing budget would be. |