Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mceckstein on github.
  • I am mattec (https://keybase.io/mattec) on keybase.
  • I have a public key whose fingerprint is 2BB9 854A 9FB6 E147 E15A D179 9E6F D78B D415 D64E

To claim this, I am signing this object:

@mceckstein
mceckstein / BalancedDelimiters.cs
Last active August 29, 2015 14:02
Balanced Delimiters problem (C# iterative solution)
using System;
using System.Collections.Generic;
using System.Linq;
public class BalancedDelimiters
{
/// <summary>
/// Dictionary that maps the delimiter characters that the
/// input text may contain. The key represents the opening delimiter,
/// the value represents the key's corresponding closing delimiter.