There is a class with m students and n exams. You are given a 0-indexed m x n in...
原文題目Given an m x n grid of characters board and a string word, return true if wo...
Problem :
Given a m x n grid filled with non-negative numbers, find a path from...
You are given coordinates, a string that represents the coordinates of a square...
題目
題目翻譯
將 k 個已經排好順序的 linked list 合併成為一個排好序的 list
解題步驟
初始化最小堆(優先隊列):
優先隊列可以幫助...
今天來講第12題
題目
題目翻譯
使用羅馬數字來表示整數
解題思路
初始化結果字串:
定義一個空字串 str,用來儲存轉換結果的羅馬數字。
處理數...