Skip to content

Instantly share code, notes, and snippets.

View Samee24's full-sized avatar

Samee Zahid Samee24

View GitHub Profile
@Samee24
Samee24 / keybase.md
Created May 15, 2016 19:42
Proof for keybase.

Keybase proof

I hereby claim:

  • I am samee24 on github.
  • I am samee (https://keybase.io/samee) on keybase.
  • I have a public key whose fingerprint is 4EA4 C500 DAB9 C604 CA6F 0D2D 9092 7DF9 9922 16B3

To claim this, I am signing this object:

public static boolean isInOrder(String input, String ordering) {
class PairChar {
int first = Integer.MAX_VALUE;
int last = -1;
}
char[] orderArr = ordering.toCharArray();
char[] inputArr = input.toCharArray();
HashMap<Character, PairChar> map = new HashMap<>();