上一页 1 ··· 18 19 20 21 22
摘要: Combine Two TablesTable:Person+-------------+---------+| Column Name | Type |+-------------+---------+| PersonId | int || FirstName | varc... 阅读全文
posted @ 2015-05-16 16:26 `Liok 阅读(260) 评论(0) 推荐(0) 编辑
摘要: Valid NumberValidate if a given string is numeric.Some examples:"0"=>true" 0.1 "=>true"abc"=>false"1 a"=>false"2e10"=>trueNote:It is intended for the ... 阅读全文
posted @ 2015-05-16 16:18 `Liok 阅读(300) 评论(0) 推荐(0) 编辑
摘要: Same TreeGiven two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally ide... 阅读全文
posted @ 2015-05-16 16:14 `Liok 阅读(186) 评论(0) 推荐(0) 编辑
摘要: Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root ... 阅读全文
posted @ 2015-05-16 16:13 `Liok 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Majority ElementGiven an array of sizen, find the majority element. The majority element is the element that appears more than⌊ n/2 ⌋times.You may ass... 阅读全文
posted @ 2015-05-16 16:08 `Liok 阅读(399) 评论(0) 推荐(0) 编辑
摘要: Excel Sheet Column TitleGiven a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B ... 阅读全文
posted @ 2015-05-16 16:05 `Liok 阅读(444) 评论(0) 推荐(0) 编辑
摘要: Excel Sheet Column NumberRelated to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column ... 阅读全文
posted @ 2015-05-16 16:03 `Liok 阅读(336) 评论(0) 推荐(0) 编辑
摘要: Number of 1 BitsWrite a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as theHamming weight).For exampl... 阅读全文
posted @ 2015-05-16 16:01 `Liok 阅读(490) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22