LeetCode 2288. Apply Discount to Prices
周賽295。太久沒有搞字串格式化,還去查了一下怎麼用,好在是沒有BUG安全解決。
周賽295。太久沒有搞字串格式化,還去查了一下怎麼用,好在是沒有BUG安全解決。
每日題。這幾天好像都是位元運算,滿有趣的題目,其實rolling hash跟sliding window有八成像。
每日題。這題從好久以前就看過了,沒什麼想法,而且還超多爛,就沒想碰他。竟然出現在每日題,看來會增加更多爛。
雙周賽79。難度爆表的Q4,本來想說用兩個sorted list硬上,調了一小時出不來。結束時才發現整體AC率竟然只有2.8%,有夠誇張。
雙周賽79。最近幾次最簡單的Q3之一,抓到重點很快就能寫出來。