等待加载。。。

摘要: 什么是脚本? 脚本(Script),是使用一种特定的描述性语言,依据一定的格式编写的可执行文件。 脚本语言又被称为扩建的语言, 或者动态语言, 是一种编程语言, 用来控制软件应用程序, 脚本通常是以文本 (ASCⅡ) 保存, 只是在被调用时进行解释或者编译。 我们可以在百度百科查询到上面一则简介,其 阅读全文
posted @ 2022-06-15 19:22 言小溪enncy 阅读(211) 评论(0) 推荐(0) 编辑
摘要: function collect(){ // 内容元素 const content = document.querySelector('.content') // 题目正则 const regexp = /\d+、(【..题】.*?)\n([\s\S]+?)参考答案:([A-Z]+)/ // 选项正 阅读全文
posted @ 2022-05-11 16:16 言小溪enncy 阅读(260) 评论(0) 推荐(0) 编辑
摘要: // 获取相交节点 public static Node getNode(Node head1, Node head2) { if (head1 == null || head2 == null) { return null; } // 获取第一个链表的入环节点 Node loop1 = getLo 阅读全文
posted @ 2022-04-19 18:03 言小溪enncy 阅读(27) 评论(0) 推荐(0) 编辑
摘要: public static Node getLoopNode(Node head){ if(head == null || head.next == null){ return null; } // 快慢指针,快指针一定会遇到慢指针 Node n1 = head.next; Node n2 = he 阅读全文
posted @ 2022-04-19 17:04 言小溪enncy 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 制作中。。。 阅读全文
posted @ 2022-04-19 16:48 言小溪enncy 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 方法1 栈 使用出栈入栈的方法,如果是回文结构,则出栈入栈的顺序肯定一致。 时间复杂度:O(N) 空间复杂度:O(N) public static boolean isPalindrome(Node head) { Stack<Node> stack = new Stack<>(); Node cu 阅读全文
posted @ 2022-04-19 14:43 言小溪enncy 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 方法1 迭代 public static Node reverseNode(Node head){ // 前一个节点 Node pre = null; // 当前节点 Node cur = head; // 如果当前节点不为空 while(cur!=null){ // 存储下一个节点 Node ne 阅读全文
posted @ 2022-04-18 19:19 言小溪enncy 阅读(55) 评论(0) 推荐(0) 编辑
摘要: function getCSSPath(node) { let parts = []; while (node.parentElement) { let str = node.tagName.toLowerCase() if (node.id) { str += `#${node.id}`; par 阅读全文
posted @ 2022-04-17 20:19 言小溪enncy 阅读(188) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2022.cnblogs.com/blog/1695896/202204/1695896-20220407001035659-918635004.jpg) ![](https://img2022.cnblogs.com/blog/1695896/202204/1695896-20220407001046432-1788187874.jpg) ![](https://i 阅读全文
posted @ 2022-04-07 00:11 言小溪enncy 阅读(24) 评论(0) 推荐(0) 编辑
摘要: png 格式 ico 格式 阅读全文
posted @ 2022-04-06 23:58 言小溪enncy 阅读(24) 评论(0) 推荐(0) 编辑