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
/** | |
* https://buttondown.email/cassidoo/archive/quality-is-not-an-act-it-is-a-habit-will-durant/ | |
* | |
* Given a list of words and a dictionary of letter scores, | |
* find the word with the highest score according to the rules: | |
* score = word_length * (sum of letter scores in the word). | |
* | |
* If there are multiple words with the same highest score, | |
* return the lexicographically smallest one. | |
* |
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
/** | |
* https://buttondown.email/cassidoo/archive/perseverance-is-failing-19-times-and-succeeding/ | |
* | |
* Given two integers source and target, | |
* add operators in the source number to make it equal target, if possible. | |
* You can return just one, or all possibilities for this! | |
* | |
* Example: | |
* > addOperators(123, 6) | |
* > ["1*2*3", "1+2+3"] |
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
/** | |
* https://buttondown.email/cassidoo/archive/i-love-mistakes-because-its-the-only-way-you/ | |
* | |
* Using the PokéAPI (or your own local setup): https://pokeapi.co/ | |
* write a function that takes in a Pokémon type, | |
* and returns what that type is weak against, and strong against. | |
* Here is the listing of types: https://pokeapi.co/api/v2/type/ | |
* and here's an example JSON for the fighting type: https://pokeapi.co/api/v2/type/2 | |
* | |
* Examples: |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Shoestring.css Style Guide</title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="./css/shoestring/0.0.1/shoestring-dev.css"> | |
<style type="text/css"> |
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
/* top navigation section */ | |
.top_left { | |
display: inline-block; | |
background-color: #f6f7f9; | |
width: 34%; | |
height: 100px; | |
float: left; | |
} |