logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

【力扣-数据结构】【第 6 天】383. 赎金信

标题383. 赎金信难度简单天数第6天,第2/3题数据结构字符串给你两个字符串:ransomNote 和 magazine ,判断 ransomNote 能不能由 magazine 里面的字符构成。如果可以,返回 true ;否则返回 false 。magazine 中的每个字符只能在 ransomNote 中使用一次。示例 1:输入:ransomNote = “a”, magazine = “b

文章图片
#leetcode#数据结构#动态规划 +1
requestFocus标签的使用(为控件设置焦点)

1.非容器控件标签中放<requestFocus />标签,表示将当前控件设为焦点。代码如下:<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:orientation="vertical"android:padding="4dip"andro

#android
Plugin with id 'com.github.dcendents.android-maven' not found 解决方案

1.错误原因:导入了一个module 其build.gradle引用了apply plugin: 'com.github.dcendents.android-maven'导入后项目提示 Plugin with id 'com.github.dcendents.android-maven' not found2.解决方式:在project目录下的build.gradle对应位置添加classpath

#maven
mac更新系统后Git不能用,提示missing xcrun at

今天更新了mac系统,然后就踩了这个坑。运行AndroidStudio 右上角提示:can't start git: /usr/bin/gitprobably the path to git executable is not valid . `fix it`.点击fix it后 点击git路径后边的test提示:errors while executing git -- version.

#git#android
到底了