08 2021 档案
摘要:(一)现象 No 'Access-Control-Allow-Origin' header (二)解决方案 右键谷歌浏览器得快捷方式 在目标后加入参数,允许跨域 --user-data-dir="c:\ChromeDebug" --test-type --disable-web-security 使
阅读全文
摘要:题目: 思路: 指针位移,一次比较一列 (一)代码 class Solution { public String longestCommonPrefix(String[] strs) { String res = ""; int compareTimes = Integer.MAX_VALUE; f
阅读全文
摘要:题目: 思路: 按空格拆分 反转拆分后数组中的每一个串(双指针) 用StringBuffer 进行连接 (一)代码 class Solution { public String reverseWords(String s) { String[] strs = s.split(" "); String
阅读全文

浙公网安备 33010602011771号