摘要:
题目连接:https://github.com/iszu/web-learning/blob/master/JavaScript%E7%BB%83%E4%B9%A0%E9%A2%98.md function countRepeat(arr) { var a = {}; for (var i = 0; 阅读全文
摘要:
题目地址:https://github.com/iszu/web-learning/blob/master/JavaScript%E7%BB%83%E4%B9%A0%E9%A2%98.md function daySpan(date1, date2) { var t = date2.getTime( 阅读全文
摘要:
大写字母A-Z对应的ASCII码值是65-90小写字母a-z对应的ASCII码值是97-122 将字母转为ascii码的方法: var str = "A"; str.charCodeAt(); // 65 var str1 = 'a'; str1.charCodeAt(); // 97 将ascii 阅读全文
摘要:
function firstNonRepeat(str) { var a = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; for (var i = 0; i < str.leng 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include #include #include using namespace std; int main(int argc, char *argv[]) { long long n,m; double sum... 阅读全文
摘要:
关于kmp算法的理解视频(无代码):https://www.bilibili.com/video/av3246487?from=search&seid=8973861086110677788 阅读全文
摘要:
这题卡了还蛮久的,矩阵还是有一点陌生啊。 阅读全文
摘要:
写得有点自闭啊。这题的中心思想应该是将左边和右边差距最小的两个合并。 阅读全文