Skip to content

Instantly share code, notes, and snippets.

isEven has constant run time complexity (O(1))
areYouHere has polynomial run time complexity (O(n^2))
doubleArrayValues has linear run time complexity (O(n))
naiveSearch has linear run time complexity (O(n))
createPairs has polynomial run time complexity (O(n^2))
generateFib has linear run time complexity (O(n))
efficientSearch has logarithmic run time complexity (O(log n))
findRandomElement has constant run time complexity (O(1)).
isPrime has linear run time complexity (O(n))
Need better form control
formatting isssues
less pictures
Budget app
Keep track of transacions and have some cool charts
https://glitch.com/edit/#!/redux-interest-calculator-connected?path=src/actions/index.js:1:0
https://glitch.com/edit/#!/wholesale-patio?path=src/actions/index.js:1:0
@loganrun
loganrun / redux.
Created April 17, 2018 21:19
Redux experiments
https://glitch.com/edit/#!/nifty-question?path=src/reducers/index.js:11:18
https://glitch.com/edit/#!/aback-kiss?path=src/reducers/index.js:37:17
@loganrun
loganrun / react.js
Created April 13, 2018 15:18
Communication gist
https://glitch.com/edit/#!/quilt-word?path=src/components/live-search.js:1:0
https://glitch.com/edit/#!/fossil-august?path=src/components/number-input.js:14:0
https://glitch.com/edit/#!/quilt-sofa?path=src/components/surprise.js:6:0
@loganrun
loganrun / react component ass.js
Created April 12, 2018 19:33
React component drills
https://glitch.com/edit/#!/narrow-supermarket?path=src/index.js:1:0
https://glitch.com/edit/#!/honey-gemini?path=src/index.js:1:0
Need different pictures for apt and buildings.
Cut back on indtended features and phase others in.
Use modals for error msg.
db.restaurants.find()
db.restaurants.find().sort({name: 1}).limit(10)
db.restaurants.find({borough: "Queens"});
db.restaurants.count()
db.restaurants.find({'address.zipcode': '11206'}).count()