前言
嘿嘿~今天要解一道看起來有點複雜但其實可以很簡單的題目,叫做 Subarray Sum Equals K(子陣列和等於 K)。這題的意思是,我們有一個...
701. Insert into a Binary Search Tree
這題是一題類似於 2-3 樹中的插入操作,這道題可以用來理解如何保持樹的平衡。在一棵...
Alice and Bob continue their games with stones. There is a row of n stones, and...
Problem :
Given a sorted array of distinct integers and a target value, return t...
今天來解YKL31(UVA10268):498'
498'
計算多項式的微分並把x代進去,求多項式全部的和
就像下圖題目解釋的coef=>an-i=&g...
You are given a 2D integer array ranges and two integers left and right. Each ra...