This file contains hidden or 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
'use strict'; | |
class Node { | |
constructor(val, nxt = null) { | |
this.value = val; | |
this.next = nxt; | |
} | |
} | |
class LinkedList { |
This file contains hidden or 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
Verifying my Blockstack ID is secured with the address 1CEM4cy211TVPuDz1r7ry6b4PN9muGN4nm https://explorer.blockstack.org/address/1CEM4cy211TVPuDz1r7ry6b4PN9muGN4nm |
This file contains hidden or 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> | |
<head> | |
<title> | |
Deck of Cards | |
</title> | |
<style> | |
body { | |
font-family: arial; | |
} |
This file contains hidden or 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> | |
<head> | |
<title>Rick's Top Pot Solution</title> | |
<style type="text/css"> | |
body { | |
color: #222; | |
} | |
li { |
This file contains hidden or 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> | |
<head> | |
<meta charset="utf-8"> | |
<title>Guessing Age in Durations</title> | |
<meta name="description" content="Guessing, Game, Age"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> |
This file contains hidden or 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
<script type="text/javascript"> | |
var guess, answer, message; | |
answer = Math.floor(Math.random() * 100) + 1; | |
console.log(answer); | |
guess = prompt("What do you choose? 1-100?"); | |
if (guess == answer) { | |
message = "Good guess, you're right!"; | |
} else { |
This file contains hidden or 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
class BinarySearchTree | |
constructor: () -> | |
@val = null | |
@size = 0 | |
@right = null | |
@left = null | |
insert: (val) -> | |
if @val == val |
NewerOlder