摘要: 1.认识复杂度与排序算法 复杂度:认识时间复杂度就是看进行了多少次常数操作。(什么是常数操作?赋值、加减乘除运算等都是。调用API操作就不是如list.get(i)。) 时间复杂度:在常数操作的数量级表达式中不要低阶项,只要最高阶项,并忽略系数。 空间复杂度:系统需要额外空间去保存变量。 选择排序: 阅读全文
posted @ 2022-08-22 17:09 湘summer 阅读(81) 评论(0) 推荐(0)
摘要: 1.知识点解析 1.1 dimen 1.尺寸资源; 2.在工程的res\layout\目录下创建一个test_dimen.xml布局文件。 3.在该布局文件中添加一个TextView和一个Button。 4.TextView的宽和高引用尺寸资源来设置,android:width="@dimen/te 阅读全文
posted @ 2022-08-22 16:50 湘summer 阅读(1006) 评论(0) 推荐(0)
摘要: 一、安装JDK出现错误 If you did this already, delete the swap file "/etc/.profile.sw p" to avoid this message. 解决:使用命令rm -f /etc/.profile.swp ,再次输入vim /etc/pro 阅读全文
posted @ 2022-08-22 16:41 湘summer 阅读(56) 评论(0) 推荐(0)
摘要: 阿尔及利亚森林火灾数据集 import numpy as np import pandas as pd from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardSca 阅读全文
posted @ 2022-08-22 16:38 湘summer 阅读(1184) 评论(0) 推荐(0)