Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 818 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 818 Bytes

Interview Programming Problems

Date Range Problem

The candidate will complete this problem in stages to gauge skills and ability. The candidate can implement the solution in the language of their choice.

The problem consists of multiple stages:

  1. Create a class to represent a date range.
  2. Add a method to determine if one date range is equal to another.
  3. Add a method to determine if one date range overlaps another.
  4. Add a method to merge a date range with another date range.
  5. Add a method taking a list of date ranges and return a list of date ranges where all overlapping date ranges in the original list are merged.

Triangle of Xs

The candidate will create method accepting an integer as the height. The method will need to print out lines of 'x' characters creating a triangle pattern.