題目:You are given an integer array height of length n. There are n vertical lines...
題目:七種不同的符號代表具有以下數值的羅馬數字:羅馬數字由小數位數值的轉換結果由高到低依序相加而成。將小數位數值轉換為羅馬數字有以下規則: 如果值不是以 4 或...
題目:例如, 2寫成II 羅馬數字,就是兩個一相加。12寫成 XII,就是簡單的X + II。數字27寫成XXVII,就是XX + V + II。 羅馬數字通常...
題目:Write a function to find the longest common prefix string amongst an array of...
題目:Given an integer array nums, return all the triplets [nums[i], nums[j], nums[...
題目:Given an integer array nums of length n and an integer target, find three int...
題目:Given a string containing digits from 2-9 inclusive, return all possible lett...
題目:Given an array nums of n integers, return an array of all the unique quadrupl...
題目:Given the head of a linked list, remove the nth node from the end of the list...
題目:Given a string s containing just the characters '(', ')', '{', '}', '[' and '...