随笔分类 - Leetcode
摘要:【转载请注明】:https://www.cnblogs.com/igoslly/p/9699791.html 一、题目 二、题目分析 给出一个无向图,其中保证每点之间均有连接,给出原图中的一个点 node ,进行图的复制 注意 每个点会与多个其他点进行连接,关注节点数据结构,其中 label 表数值
阅读全文
摘要:【转载请注明】https://www.cnblogs.com/igoslly/p/9351564.html 具体的图示可查看 链接 代码一
阅读全文
摘要:【转载请注明】https://www.cnblogs.com/igoslly/p/9341666.html
阅读全文
摘要:【转载请注明】https://www.cnblogs.com/igoslly/p/9017638.html 来看一下题目: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows lik
阅读全文
摘要:【转载请注明】https://www.cnblogs.com/igoslly/p/9339478.html
阅读全文
摘要:【转载请注明】http://www.cnblogs.com/igoslly/p/8726771.html 来看一下题目: Given a string s, find the longest palindromic substring in s. You may assume that the ma
阅读全文
摘要:【转载请注明】http://www.cnblogs.com/igoslly/p/8719622.html 来看一下题目: Write a program to solve a Sudoku puzzle by filling the empty cells. Empty cells are indi
阅读全文
摘要:【转载请注明】http://www.cnblogs.com/igoslly/p/8707664.html 来看一下题目: Given two binary trees, write a function to check if they are the same or not. Two binary
阅读全文
摘要:【转载请注明】http://www.cnblogs.com/igoslly/p/8707274.html 来看一下题目: Given a linked list, swap every two adjacent nodes and return its head. For example, Give
阅读全文
摘要:哎作为一个落后的技术小白,默默地开始地刷起了Leetcode,期望能一直更新
阅读全文
摘要:【转载请注明】http://www.cnblogs.com/igoslly/p/8672656.html 看一下题目: Given a linked list, remove the nth node from the end of list and return its head. For exa
阅读全文
摘要:【转载请注明】http://www.cnblogs.com/igoslly/p/8672467.html 来看一下题目: You are given two non-empty linked lists representing two non-negative integers. The digi
阅读全文
摘要:【转载请注明】http://www.cnblogs.com/igoslly/p/8670038.html 链表逆序在链表题目中还是较为常见的,这里将Leetcode中的两道题放在一起,分别是 0092 Reverse Linked List II 和 0206 Reverse Linked List
阅读全文

浙公网安备 33010602011771号