摘要: 题目: Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adj 阅读全文
posted @ 2020-02-12 22:38 silentteller 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. 阅读全文
posted @ 2020-02-12 22:02 silentteller 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 加载驱动程序: Class.forName(driverClass) //加载MySql驱动 Class.forName("com.mysql.jdbc.Driver") //加载Oracle驱动 Class.forName("oracle.jdbc.driver.OracleDriver") 获得 阅读全文
posted @ 2020-02-12 17:04 silentteller 阅读(174) 评论(0) 推荐(0) 编辑