Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. # Algorithm Arsenal
  2. - sort
  3. - merge sort n log n
  4. - insertion sort
  5. - heap sort (n log n)
  6. - bubble sort n log n
  7. - graph search
  8. - DFS
  9. - BFS
  10. - shortest path - Djikstra's algorithm
  11. - binary search (keep halving problem)
  12. - map reduce
  13.  
  14. # Data Structures Arsenal
  15. - array
  16. - linked lists
  17. - set
  18. - hash
  19. - less than - stored as binary trees
  20. - map
  21. - hash - if there is a collision, insertion can be as worse as O(n)
  22. - less than - stored as binary trees
  23. - stacks
  24. - queues
  25. - trees
  26. - binary search tree
  27. - trie
  28. - graph
  29. !!!! UNDERSTAND HOW THESE STRUCTURES WORK !!!!
  30.  
  31. # Design questions (for self)
  32. - concurrency
  33. - recursion & induction
  34. - dynamic programming
  35. - scalability & memory limits
  36.  
  37. # OOP
  38. - inheritance - allows child class to inherit props of parent (minus private)
  39. - abstract
  40. - can only be extended, not instantiated
  41. - can have implemented methods and abstract methods
  42. - polymorphism - allows subclass to act like superclass
  43. - overriding - runtime
  44. - overloading - compile time
  45. - encapsulation - hide methods and attributes inside class (black box)
  46. - templates (done at compile time)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement