public class Solution { public int GetUglyNumber_Solution(int index) { if (index < 7) return index; // 维护一个对应索引的丑数序列 int[] ans = new int[index]; ans[0] = 1; // 分别用于维护 2, 3, 5 的倍数序列 int t2 = 0, t3 = 0, t5 = 0; for (int i = 1; i < in...