网站首页 站内搜索

搜索结果

查询Tags标签: 827,共有 3条记录
  • 827. 双链表

    题目链接 827. 双链表 实现一个双链表,双链表初始为空,支持 \(5\) 种操作: 在最左侧插入一个数; 在最右侧插入一个数; 将第 \(k\) 个插入的数删除; 在第 \(k\) 个插入的数左侧插入一个数; 在第 \(k\) 个插入的数右侧插入一个数 现在要对该链表进行 \(M\) 次操作,进…

    2022/5/4 23:18:42 人评论 次浏览
  • [LeetCode] 827. Making A Large Island

    You are given an n x n binary matrix grid. You are allowed to change at most one 0 to be 1. Return the size of the largest island in grid after applying this operation. An island is a 4-directionally connected group of 1s. Example 1: Input: grid = [[1…

    2021/7/18 6:06:10 人评论 次浏览
  • [LeetCode] 827. Making A Large Island

    You are given an n x n binary matrix grid. You are allowed to change at most one 0 to be 1. Return the size of the largest island in grid after applying this operation. An island is a 4-directionally connected group of 1s. Example 1: Input: grid = [[1…

    2021/7/18 6:06:10 人评论 次浏览
扫一扫关注最新编程教程