Byte by Byte
Skip to content
  • Home
  • Get Started
  • Blog
  • Interview Questions
    • All
    • Easy
    • Medium
    • Hard
  • Resources
    • DP Ebook
    • DP Video Course
    • Recursion Video Course
    • 50 Questions
  • About
    • Team
    • FAQ
    • Press Kit
  • Student Login

Sorting Coding Interview Questions

Build Order: Coding Interview Question

Coding Interview Question: Build Order

Posted by Sam Gavis-Hughson

Coding Interview Question: Given a list of packages to build, determine a valid order in which to build the packages. Click for the solution.

Posted in Coding Interview Questions Tagged Graph, Medium, Sorting Leave a comment
Consecutive Array: Coding Interview Question

Coding Interview Question: Consecutive Array

Posted by Sam Gavis-Hughson

Coding Interview Question: Given an unsorted array, find the length of the longest sequence of consecutive numbers in the array. Click for the solution.

Posted in Coding Interview Questions Tagged Array, Medium, Sorting 5 Comments
Merge K Arrays: Coding Interview Question

Coding Interview Question: Merge K Arrays

Posted by Sam Gavis-Hughson

Coding Interview Question: Given k sorted arrays, merge them into a single sorted array. Click for the solution.

Posted in Coding Interview Questions Tagged Array, Medium, Sorting 8 Comments
Sort Stacks: Coding Interview Question

Coding Interview Question: Sort Stacks

Posted by Sam Gavis-Hughson

Coding Interview Question: Given a stack, sort the elements in the stack using one additional stack. Click for the solution.

Posted in Coding Interview Questions Tagged Medium, Sorting, Stack Leave a comment
Merge Arrays: Coding Interview Question

Coding Interview Question: Merge Arrays

Posted by Sam Gavis-Hughson

Coding Interview Question: Given sorted arrays A and B, where the length of A is A+B, copy the contents of B into A. Click for the solution.

Posted in Coding Interview Questions Tagged Array, Easy, Sorting Leave a comment
Kth Most Frequent: Coding Interview Question

Coding Interview Question: Kth Most Frequent String

Posted by Sam Gavis-Hughson

Coding Interview Question: Given a list of strings, write a function to get the kth most frequently occurring string. Click for the solution.

Posted in Coding Interview Questions Tagged Medium, Sorting Leave a comment

Posts navigation

Dynamic programming crash course for non-geniuses

Download my free guide to learn:

  • How to finally “get” what Dynamic Programming really is – no Ph.D required
  • The not-so-obvious way you can solve any dynamic programming problem fast – and not freeze up during your interview
  • The only 10% of information you need to know to ace your interview – forget all the useless fluff

Enter your email below and get instant access to your free Dynamic Programming guide.

 

Recent Posts

  • 6 Common Dynamic Programming Interview Questions (with Video Solutions)
  • Understanding Recursion Using Real-World Examples
  • 12 Common Recursion Interview Questions (with Video Solutions)
  • How To Pass the Microsoft Interview: A Practical Guide

Interview Cake

Interview Cake

Interview Cake is an awesome resource for more practice interview questions. Get 50% off for a limited time.

Cracking the Coding Interview

“Cracking

Check out my hands down favorite resource for coding interview prep here.

Made in NYC
[email protected]
Youtube

© Byte by Byte 2016-2019

Privacy Policy
Terms and Conditions

Sam Gavis-Hughson is a software engineer based in New York City. Through Byte by Byte, he publishes regular coding interview question videos, demonstrating proper interview techniques. He also helps many students by offering practice coding interviews to help them get jobs at Google, Facebook, and other exciting tech companies.