Skip to content

Instantly share code, notes, and snippets.

View kyle-hall's full-sized avatar

Kyle Hall kyle-hall

View GitHub Profile
@kyle-hall
kyle-hall / gist:6fab808db67e98ca4d9a47db87a0322a
Created July 18, 2018 02:48
Kotlin Weekly Subscribe Button error
<script> source URI is not allowed in this document: “http://100androidquestionsandanswers.us12.list-manage.com/subscribe/post-json?u=f39692e245b94f7fb693b6d82&id=93b2272cb6&c=jQuery190002395607363006802_1531881882487&EMAIL=hallkd47%40gmail.com&FNAME=&LNAME=&b_f39692e245b94f7fb693b6d82_93b2272cb6=&subscribe=Subscribe&_=1531881882488”.
@kyle-hall
kyle-hall / circBuffer.rb
Created June 2, 2015 21:37
CircularBuffer implementation
#My implementation of a (mostly) functional version of a CircularBuffer data structure
class CircularBuffer
def initialize (size,arr,head,tail)
@cbuff = arr
@size = size
@head = head
@tail = tail
end
@kyle-hall
kyle-hall / gist:6b6c0c847c552e475e2b
Created June 2, 2015 20:49
functional CircularBuffer implementation
#My implementation of a (mostly) functional version of a CircularBuffer data structure
class CircularBuffer
def initialize (size,arr,head,tail)
@cbuff = arr
@size = size
@head = head
@tail = tail
end

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.