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
function Dog(name) { | |
this.name = name; | |
} | |
Dog.bark = function() { | |
console.log("Guau… from the Dog function") | |
} |
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
function Dog(name) { | |
this.name = name; | |
} |
This file has been truncated, but you can view the full file.
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
module.exports = `6 | |
446 30338 | |
174 272 | |
93 344 | |
321 433 | |
408 31 | |
207 186 | |
150 98 | |
177 293 | |
147 380 |
I hereby claim:
- I am fforres on github.
- I am fforres (https://keybase.io/fforres) on keybase.
- I have a public key whose fingerprint is FCCD 0ECD 1214 36DD D071 4C26 5668 7D59 20E8 38A2
To claim this, I am signing this object:
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
var leaves = [ | |
['flare', 'analytics', 'cluster', 'AgglomerativeCluster'], | |
['flare', 'scale', 'scaleType'], | |
['flare', 'analytics', 'cluster', 'CommunityStructure'], | |
['flare', 'vis', 'data', 'render', 'ShapeRenderer'], | |
['flare', 'analytics', 'graph', 'MaxFlowMinCut'], | |
['flare', 'analytics', 'graph', 'LinkDistance'] | |
]; |
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
/////////////// ignore above this line //////////////////// | |
function node(){ | |
this.$ = 0; | |
} | |
node.prototype.find = function(term){ | |
let currentWords = null; | |
let searchObject = this; | |
for( let i = 0; i < term.length; i++) { |
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
https://www.hackerrank.com/challenges/ctci-contacts | |
/////////////// ignore above this line //////////////////// | |
function analizeContacts(){ | |
this.contactObject = {}; | |
this.currentFinds = []; | |
} | |
analizeContacts.prototype.find = function(term){ | |
let currentWords = null; | |
if(this.contactObject[term]) { |
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
https://www.hackerrank.com/challenges/ctci-contacts | |
/////////////// ignore above this line //////////////////// | |
function analizeContacts(){ | |
this.contactObject = new Map(); | |
this.currentFinds = []; | |
} | |
analizeContacts.prototype.find = function(term){ | |
let currentWords = null; | |
if(this.contactObject.get(term)) { |
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
https://www.hackerrank.com/challenges/ctci-contacts | |
/////////////// ignore above this line //////////////////// | |
function analizeContacts(){ | |
this.contactObject = { | |
letters: {}, | |
data: 0 | |
}; | |
this.currentFinds = []; | |
} |