Algorithem_ReverseLinkedList
Given the head of a singly linked list, reverse the list, and return the reversed list.
more >>Given the head of a singly linked list, reverse the list, and return the reversed list.
more >>You are given the heads of two sorted linked lists list1 and list2.
Merge the two lists in a one sorted list. The list should be made by splicing together the nodes of the first two lists.
Return the head of the merged linked list.
more >>You are given two binary trees root1 and root2.
Imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are not. You need to merge the two trees into a new binary tree. The merge rule is that if two nodes overlap, then sum node values up as the new value of the merged node. Otherwise, the NOT null node will be used as the node of the new tree.
more >>You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following definition:
more >>You are given an m x n binary matrix grid. An island is a group of 1’s (representing land) connected 4-directionally (horizontal or vertical.) You may assume all four edges of the grid are surrounded by water.
more >>An image is represented by an m x n integer grid image where image[i][j] represents the pixel value of the image.
more >>Given a string s, find the length of the longest substring without repeating characters.
more >>Given the head of a singly linked list, return the middle node of the linked list.
If there are two middle nodes, return the second middle node.
more >>Given a string s, reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order.
more >>tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true