原创 收藏的java頁面

 http://doc.linuxpk.com/57248.html

原创 在JSP中訪問數據庫大全

 現在有好多初學jsp的網友經常會問數據庫怎麼連接啊,怎麼老出錯啊?所以我集中的在這寫篇文章供大家參考,其實這種把數據庫邏輯全部放在jsp裏未必是好

原创 234. Palindrome Linked List

Given a singly linked list, determine if it is a palindrome. Example 1: Input: 1->2 Output: false Example 2: Input: 1

原创 LeetCode 225. Implement Stack using Queues && 232. Implement Queue using Stacks

LeetCode 225. Implement Stack using Queues Implement the following operations of a stack using queues. push(x) -- Push

原创 LeetCode 206. Reverse Linked List

Reverse a singly linked list. Example: Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL Follow up: A linked lis

原创 LeetCode ---204. Count Primes

Count the number of prime numbers less than a non-negative number, n. Example: Input: 10 Output: 4 Explanation: There

原创 LeetCode 198. House Robber

You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed,

原创 LeetCode ---202. Happy Number

Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: St

原创 LeetCode.Bash 相關題

193. Valid Phone Numbers Given a text file file.txt that contains list of phone numbers (one per line), write a one lin

原创 數組與字符串--- 整數/字符串之間的轉換

sscanf函數:     sscanf函數原型爲int sscanf(const char *str, const char *format, ...)。將參數str的字符串根據參數format字符串來轉換並格式化數據,轉換

原创 LeetCode . MySql 相關題

175. Combine Two Tables Table: Person +-------------+---------+ | Column Name | Type | +-------------+---------+ |