SSH
SSH(Secure Shell)是一種加密的網路協定,主要提供安全的遠端連線和資料傳輸。SSH 提供了加密的通訊通道,確保連線過程中的安全性。SSH...
104. Maximum Depth of Binary Tree
题目描述:
給定一個二元樹的根節點 root,返回其最大深度。
Example 1:
In...
原文題目Given an unsorted array of integers nums, return the length of the longest c...
過了一半,該開始挑戰一天寫3題了~
693. Binary Number with Alternating Bits
tags: Easy、Bitwise
G...
112. Path Sum
题目描述:
給定一個二元樹的根節點 root 和一個整數 targetSum,判斷該樹中是否存在從根節點到葉子節點的路徑,使得這條路...
EasyRelated Topics: Bit ManipulationLeetCode Source
解題想法
十進位數字轉成二進制
之後將1轉成0
將0...