예제 #1
0
        public void FirstUniqCharacterTest()
        {
            var    s = new Solution();
            string str;

            str = "leetcode";
            Assert.Equal(0, s.FirstUniqChar(str));

            str = "loveleetcode";
            Assert.Equal(2, s.FirstUniqChar(str));
        }