logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

[leetcode] 206. 反转链表 Reverse Linked List

进阶:链表可以选用迭代或递归方式完成反转。你能否用两种方法解决这道题?给你单链表的头节点 head ,请你反转链表,并返回反转后的链表。

文章图片
#leetcode#链表#算法
mac 安装webrtcvad出现了gcc的问题

今天使用下面的命令安装webrtcvad的时候出现了下面的问题,命令为:pip install webrtcvad错误信息为:(base) ➜~ pip install webrtcvadLooking in indexes: http://mirrors.aliyun.com/pypi/simple/Collecting webrtcvadDownloading h...

[leetcode] 43. Multiply Strings

DescriptionGiven two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string.字符串相乘的Python和C++代码实现。

#leetcode#算法#职场和发展
[leetcode] 309. Best Time to Buy and Sell Stock with Cooldown

DescriptionSay you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complete as many transactions as you like (i..

#leetcode#算法#职场和发展
[leetcode] 1492. The kth Factor of n

DescriptionGiven two positive integers n and k.A factor of an integer n is defined as an integer i where n % i == 0.Consider a list of all factors of n sorted in ascending order, return the kth factor

[leetcode] 835. Image Overlap

DescriptionTwo images A and B are given, represented as binary, square matrices of the same size.(A binary matrix has only 0s and 1s as values.)We translate one image however we choose (sliding it...

[elasticsearch]使用postman来查询数据

最近需要debug程序,debug的时候需要查找elasticsearch里面的数据是否正确。第一步建立一个post请求,并按照图下的方式填上ur和参数:我这里查询的是title字段。如果需要用户名和密码,需要这样填写:填写用户名和密码:然后点击send就可以获取数据啦。

文章图片
#elasticsearch#postman#lua
宝塔部署uniapp和php后端的经历

最近用宝塔部署了一个项目,中间真实一波三折,这里记录一下我的部署过程,服务器是centos。宝塔安装首先安装宝塔:yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh后端配置安装完后会跟你显示网址和密码,利用网址,

#php#centos#linux
mac ImportError cannot import name process_pdf from pdfminer pdfinterp

今天在使用pdfminer的时候出现了下面的错误:ImportError: cannot import name 'process_pdf' from 'pdfminer.pdfinterp'然后明明安装了pdfminer,却导入不进来。解决方法pip uninstall PDFMiner3Kpip uninstall PDFMinerpip install pdfminer3k然后就行了,主要思

    共 94 条
  • 1
  • 2
  • 3
  • 10
  • 请选择