Skip to content

Instantly share code, notes, and snippets.

View sharmilajesupaul's full-sized avatar

Sharmila Jesupaul sharmilajesupaul

View GitHub Profile
# frontend/app/script/__tests__/BUILD.bazel
jest_test(
name = "jest_test",
is_required = True, # makes this target a required check on pull requests
deps = [
":source_library",
],
)
/* Pre-Define HTML5 Elements in IE */
(function(){ var els = "source|address|article|aside|audio|canvas|command|datalist|details|dialog|figure|figcaption|footer|header|hgroup|keygen|mark|meter|menu|nav|picture|progress|ruby|section|time|video".split('|'); for(var i = 0; i < els.length; i++) { document.createElement(els[i]); } } )();
@sharmilajesupaul
sharmilajesupaul / gist:5075c5ee894e4d95caf6
Last active August 29, 2015 14:14
Linked List in Ruby

Algorithm Night

####Linked Lists

  • reference based ds
  • a collection of node objects
  • each node possesses a value and a reference

PRO: adding anywhere but the end is better CON: adding at the end takes longer (have to find 'end')