Skip to content

Instantly share code, notes, and snippets.

@Kphillycat
Last active February 8, 2024 01:46
Show Gist options
  • Save Kphillycat/21aeae3469d7f90220a2 to your computer and use it in GitHub Desktop.
Save Kphillycat/21aeae3469d7f90220a2 to your computer and use it in GitHub Desktop.
Questions from Technical Interviews
  • What's ActiveRecord?
  • Explain the process of an HTTP Request
  • How would you simulate a loaded die, where 6 comes up 50% of the time and 1-5 comes up 10%?
  • Write the SQL to join two tables
  • Calculate the bounding box of a 3D object.
  • Create a Rails/Angular application in 24 hours.
  • Explain REST.
  • Write a function to detect if a binary search tree is unbalanced.
  • How many gas stations are in the US?
  • Create a multiplication table
  • How would you simulate an activity stream/news feed?
  • What question do you think I should have asked that I didn't?
  • How would you deal with Google Analytics not tracking your single page application?
  • Explain GitHub as if I was a 5 year old?
  • What is polymorphism?
  • Design a popular social network. Models, methods, etc.
  • What's the difference between an interface and an abstract class?
  • How would you find the number that appears in a list more than once?
  • What's the probability that two people in a room have the same birthday?
  • Given a stack of magazines, how would you determine whether or not you can make a ransom note?
  • Create a function that finds all the palindromes in a string
  • What's the diffence between a class and an object?
  • What's the two different ways to declare a lambda?
  • Create a function on the Stack class that returns the minimum value in the Stack.
  • Convert this hexadecimal number into binary.
  • Write out the T-9 algorithm used for older cellphones
  • Given a triangle of integers, find the maximum sum going from top to bottom.
  • Can you tell me methods for data encapsulation in [INSERT LANGUAGE]?
  • Design the physics engine for a popular video game.
  • Make a web page with a calculator.
  • What's something you could do to make model tests brittle?
  • Make a rails application with an ajax request that does the computation.
  • Model a college course catalog and course schedule with methods to check for overlapping classes.
  • Create function that calculators the factorial of a given number, iteratively and recursively.
  • Explain what happens when a user enters in a URL into the browser.
  • What's the difference between unit, functional and integration testing?
  • What's a lamda and a proc?
  • Difference between == and ===
@hankeliu2015
Copy link

Mind provide an example about 'How would you simulate an activity stream/news feed'? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment