- 博客(2)
- 收藏
- 关注
原创 # LeetCode刷题日记 -704 二分查找
class Solution { public int search(int[] nums, int target) { int high,low = 0; // 排序倒数 high = nums.length-1; while (low<=high) { int temp = (high+low)/2; if(target == nums[temp]) { return temp; } else if(target > nums[temp]) { low = temp + 1; }else
2021-11-26 15:24:38
246
原创 Python的学习心得
基础的Request库的作用 构造一个向服务器请求资源的request对象,返回包含服务器资源的response对象 1.request.get()获取html网页的主要方法,对应于http的get 2.request.head()获取html网页头信息的主要方法,对应于http的head 3.request.post() 向html提交post请求的方法,对应于http的post 4.request.put() 向html提交put请求的方法,对应于http的put 5.request.patch() 局
2021-04-03 23:07:15
67
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人