示例#1
0
        public static void SearchInRotatedSortedArray()
        {
            int index = ArrayQ.SearchInRotatedSortedArray(new int[] { 7, 1, 2, 3, 4, 5, 6 }, 2);

            Assert.That(index == 2);
        }