Skip to content

Instantly share code, notes, and snippets.

View JL-Cox's full-sized avatar

JL Cox JL-Cox

  • Think3 Solutions
  • Houston, TX
View GitHub Profile
@JL-Cox
JL-Cox / double_cola.cs
Created July 3, 2018 23:24
CodeWarsKata - Double Cola - 01/2018
using System;
public class Line
{
public static string WhoIsNext(string[] names , long n)
{
long q = (n + 4);
for (; q >= 10;)q /= 2;
q -= 5;
return names[q];