综合知识iOS单选难度 3真题改编 · 2024
59. 下面代码运行结果描述正确的是()
UIView *view1 = [[UIView alloc] initWithFrame: CGRectMake(0, 0, 100, 100)];
view1.backgroundColor = UIColor.redColor;
UIView *view2 = [[UIView alloc] initWithFrame: CGRectMake(0, 0, 100, 100)];
view2.backgroundColor = UIColor.yellowColor;
UIView *view3 = [[UIView alloc] initWithFrame: CGRectMake(0, 0, 100, 100)];
view3.backgroundColor = UIColor.blueColor;
[self.view addSubview:view1];
[self.view addSubview:view2];
[self.view addSubview:view3];
[self.view bringSubviewToFront:view2];
[self.view sendSubviewToBack:view3];
练习本题 ›
算法与数据结构单选难度 3真题改编 · 2024
69. 在一个神秘的魔法塔中,一位智慧的巫师对一组数据[86, 92, 51, 23, 75, 87, 14, 83, 55] 进行排序。在前3趟排序结果如下:
第1趟排序结果:[86, 51, 23, 75, 87, 14, 83, 55, 92]
第2趟排序结果:[51, 23, 75, 86, 14, 83, 55, 87, 92]
第3趟排序结果:[23, 51, 75, 14, 83, 55, 86, 87, 92]
请问,这种排序方法可能是()
练习本题 ›