原创 HDOJ1015.Safecracker

試題請參見: http://acm.hdu.edu.cn/showproblem.php?pid=1015 題目概述 === Op tech briefing, 2002/11/02 06:42 CST === “The item i

原创 LeetCodeOJ.Number of Digit One

試題請參見: https://leetcode.com/problems/number-of-digit-one/ 題目概述 Given an integer n, count the total number of digit 1 a

原创 HDOJ1003.Max Sum

試題請參見: http://acm.hdu.edu.cn/showproblem.php?pid=1003 題目概述 Given a sequence a[1],a[2],a[3]……a[n], your job is to calcul

原创 POJ3278.Catch That Cow

試題請參見: http://poj.org/problem?id=3278 題目概述 Farmer John has been informed of the location of a fugitive cow and wants t

原创 POJ2677.Tour

試題請參見: http://poj.org/problem?id=2677 題目概述 John Doe, a skilled pilot, enjoys traveling. While on vacation, he rents a s

原创 LeetCodeOJ.Jump Game II

試題請參見: https://leetcode.com/problems/jump-game-ii/ 題目概述 Given an array of non-negative integers, you are initially posi

原创 LeetCodeOJ.ZigZag Conversion

試題請參見: https://leetcode.com/problems/zigzag-conversion/ 題目概述 The string “PAYPALISHIRING” is written in a zigzag pattern

原创 關於Infinite Script的相關說明

本博客用於發表算法題的解題報告, 以及少量的技術文章. 大部分的技術文檔請參見我的主頁: https://haozhexie.com   PS: 本人長期從事軟件開發, 對算法瞭解甚微, 請各路大神不要鄙視.

原创 LeetCodeOJ.Longest Palindromic Substring

試題請參見: https://leetcode.com/problems/longest-palindromic-substring/ 題目概述 Given a string S, find the longest palindromic