Coding Interview Club

Prepare for coding interviews in simple and structured steps

Arrays and Strings

Aug 13, 2016 03:52pm
  1. Write an algorithm to reverse a string.
    1. Assumptions
      1. You cannot use any library functions.
      2. You may use charAt (if needed.)
  2. Write an algorithm...
Aug 13, 2016 03:47pm
  1. Find all pairs of integers within an array that sum to a specified value:
    • Approach 1: Using hash table (more time efficient)
    • Approach 2: Through sorting (more space efficient)
  2. Given an...
Back to Top