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
var LinkedList = function() { | |
} | |
LinkedList.prototype.addToTail = function(value) { | |
var newNode = new Node(value); | |
if (!this.tail && !this.head) { | |
this.tail = newNode; | |
this.head = newNode; |
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
function count_Squares(arr) { | |
/* | |
don't need the memo... | |
the floor of the square root of the number is the number of squares up to that point | |
*/ | |
for (let i = 0; i < arr.length; i++) { | |
let curr = arr[i].split(' ').map(str => parseInt(str, 10)); | |
let a = curr[0]; |
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
{ | |
"MarketType": "CBSA", | |
"MarketName": "Greenfield Town, MA (CBSA)", | |
"MarketKey": "0087FC10-16A6-E311-946A-0026B962B992", | |
"MarketOffices": [ | |
{ | |
"WebMarketUrlId": "connecticut", | |
"City": "Windsor", | |
"StateAbbrev": "CT", | |
"Zipcode": "6095", |
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
/* NeXT/Open/GNUstep / macOS communication module. -*- coding: utf-8 -*- | |
Copyright (C) 1989, 1993-1994, 2005-2006, 2008-2019 Free Software | |
Foundation, Inc. | |
This file is part of GNU Emacs. | |
GNU Emacs is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or (at |