文章 2022-02-17 来自:开发者社区

​LeetCode刷题实战237:删除链表中的节点

今天和大家聊的问题叫做 删除链表中的节点,我们先来看题面:https://leetcode-cn.com/problems/delete-node-in-a-linked-list/Write a function to delete a node in a singly-linked list. You will not be given access to the head of the l....

​LeetCode刷题实战237:删除链表中的节点
文章 2022-02-17 来自:开发者社区

​LeetCode刷题实战129:求根到叶子节点数字之和

今天和大家聊的问题叫做 求根到叶子节点数字之和,我们先来看题面:https://leetcode-cn.com/problems/sum-root-to-leaf-numbers/Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An examp....

​LeetCode刷题实战129:求根到叶子节点数字之和
文章 2022-02-17 来自:开发者社区

​LeetCode刷题实战117:填充每个节点的下一个右侧节点指针 II

今天和大家聊的问题叫做 填充每个节点的下一个右侧节点指针 II,我们先来看题面:https://leetcode-cn.com/problems/populating-next-right-pointers-in-each-node-ii/ Populate each next pointer to point to its next right node. If there is n...

​LeetCode刷题实战117:填充每个节点的下一个右侧节点指针 II
文章 2022-02-17 来自:开发者社区

​LeetCode刷题实战24:两两交换链表中的节点

今天和大家聊的问题叫做两两交换链表中的节点,我们先来看题面:https://leetcode-cn.com/problems/swap-nodes-in-pairs/Given a linked list, swap every two adjacent nodes and return its head.You may not modify the values in the list's n....

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

算法编程

开发者社区在线编程频道官方技术圈。包含算法资源更新,周赛动态,每日一题互动。

+关注