Skip to content

Instantly share code, notes, and snippets.

View khan-hasan's full-sized avatar

Hasan Khan khan-hasan

  • Delta Air Lines
  • Atlanta, GA
View GitHub Profile
/*
Instructions:
Candidates are allowed to complete this problem at home using any computer you prefer.
While the preferred language for solving this problem is C#, if absolutely necessary javascript is also permitted.
If access to a C#/Javascript editor is not available to you, you can use the following
C# online IDE at: https://www.tutorialspoint.com/compile_csharp_online.php
This IDE has a decent text editor, as well as the ability to execute your code in a console application Environment. Unlike the previous test questions, syntax and style will be taken into account for this challenge.
using System;
using System.Collections;
using System.Collections.Generic;
public class RomanDecode
{
public static int Solution(string roman)
{
// Hashtable representing the numeric value of each roman numeral key
Hashtable romanKeys = new Hashtable() {
using System;
using System.Collections;
using System.Collections.Generic;
public class RomanDecode
{
public static int Solution(string roman)
{
// Hashtable representing the numeric value of each roman numeral key
Hashtable romanKeys = new Hashtable() {
Console.WriteLine("Enter a time value in the 24-hour time format (e.g. 19:00):");
var input = Console.ReadLine();
if (string.IsNullOrEmpty(input) || string.IsNullOrWhiteSpace(input))
Console.WriteLine("Invalid Time");
var lowTime = DateTime.Parse("00:00");
var highTime = DateTime.Parse("23:59");
var inputTime = DateTime.Parse(input);
import csv
import getpass
import math
import os
import sys
import time
# pip install opencv-python
import cv2 as cv
import numpy as np