标签: leetcode
-
557. Reverse Words in a String III
Given a string, you need to reverse the order of charac…
-
279. Perfect Squares
Given a positive integer n, find the least number of pe…
-
387. First Unique Character in a String
Given a string, find the first non-repeating character …
-
322. Coin Change
You are given coins of different denominations and a to…
-
318. Maximum Product of Word Lengths
Given a string array words, find the maximum value of l…
-
异或巧用,一道令我汗颜的算法题
咱不是计算机专业的,却一直对计算机算法感兴趣,也一直致力于减小自己程序的复杂度[捂脸],昨日吃饭时,某老铁考我…
-
313. Super Ugly Number
Write a program to find the nth super ugly number.Super…
-
LeetCode刷题——29. Divide Two Integers(Part 2靠大家)
上篇文章写了以我自己的思路来解决这个问题,但是运行时间过长,看了leetcode 上的高效写法是使用位运算的解…
-
284. Peeking Iterator
Given an Iterator class interface with methods: next() …
-
LeetCode 322. Coin Change
You are given coins of different denominations and a to…