HardRelated Topics: Hash Table / String / Greedy / Sorting / CountingLeetCode S...
Given an integer array nums, find the maximum possible bitwise OR of a subset of...
806. Number of Lines To Write String
tags: Easy、String
Given two arrays of stri...
前言
嘿嘿~今天我們要來挑戰一個有趣的設計題目!你是否曾經想過,要設計一個特別的堆疊,不僅能執行一般的 push 和 pop 操作,還能在 O(1) 時間內快...
69. Sqrt(x)
题目描述:
實現 int sqrt(int x) 函數,計算並返回 x 的平方根,其中 x 是非負整數。由於返回類型是整數,結果只保留整...
2-3-4 樹筆記
基本定義
2-3-4 樹 是一種 自平衡多路搜尋樹(Balanced Multi-Way Search Tree),每個節點最多可以包含...