題目 Implement atoi which converts a string to an integer. The function fi...
題目 Given a 32-bit signed integer, reverse digits of an integer. Example ...
題目 The string "PAYPALISHIRING" is written in a zigzag pattern on a given...
題目 There are two sorted arrays nums1 and nums2 of size m and n respectiv...
題目 Given a string s, find the longest palindromic substring in s. You ma...
題目 描述 現(xiàn)在有兩個(gè)字符串,可以在字符串的任意位置(開頭,中間,末尾)插入任意數(shù)量的空格.在插入適當(dāng)數(shù)量的空格后,將兩個(gè)字符串右對(duì)齊,通過一定...
題目 描述 在一場(chǎng)DOTA戰(zhàn)爭(zhēng)中,影魔終于獲得獲得了傳說中的閃爍匕首,也就用了閃爍技能,但是閃爍有個(gè)缺陷——我們把地圖看做N*N的點(diǎn)陣,假設(shè)影魔...
題目 Given a string, find the length of the longest substring without repe...
題目 You are given two non-empty linked lists representing two non-negativ...