240 發(fā)簡信
IP屬地:加州
  • leetcode 19

    題目描述 給定一個單向鏈表逛万,要求刪除從結尾數(shù)第n個結點捶惜,并返回修改后的表頭。 樣例 給定數(shù)組單向鏈表 1->2->3->4->5 晋被,以及 n =...

  • 246. Strobogrammatic Number

    [LeetCode] Strobogrammatic Number 對稱數(shù) A strobogrammatic number is a numb...

  • 155. Min Stack

    題目:題目地址 題目描述請設計一個棧結構兑徘,支持 push、pop羡洛、top以及getMin操作挂脑,且每個操作的時間復雜度都是 O(1)O(1)。pu...

  • 66.?Plus One

    模擬人工加法的過程。 從低位到高位崭闲,依次計算出每一位數(shù)字肋联,過程中需要記錄進位。如果最高位進位是1镀脂,則需要將整個數(shù)組后移一位牺蹄,并在第0個位置寫上1。

  • 20. Valid Parentheses

    使用棧數(shù)據(jù)結構: 遇到左括號薄翅,需要壓棧。 遇到右括號氓奈,判斷棧頂是否和當前右括號匹配翘魄;若不匹配則返回false,否則匹配彈出棧頂舀奶。 最后判斷棧是否...

  • 283. Move Zeroes

    leetcode Day 4 題目:Given an array nums, write a function to move all 0's ...

  • 104. Maximum Depth of Binary Tree

    Leetcode Day 3 題目:Given a binary tree, find its maximum depth.The maximu...

  • 461. Hamming Distance

    Leetcode Day 2 題目:The Hamming distance between two integers is the numbe...

亚洲A日韩AV无卡,小受高潮白浆痉挛av免费观看,成人AV无码久久久久不卡网站,国产AV日韩精品