码迷,mamicode.com
首页 >  
搜索关键字:should be repaired    ( 4956个结果
【LeetCode】136.Excel Sheet Column Title
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2015-05-06 21:04:02    阅读次数:137
LRU Cache 暨LinkedHashMap源码阅读
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the value (will always be positive) of the key if ...
分类:系统相关   时间:2015-05-06 19:46:44    阅读次数:258
LeetCode 25 Reverse Nodes in k-Group K个一组反转节点
题目: Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k then left-out nodes in the end should remain...
分类:其他好文   时间:2015-05-06 18:03:38    阅读次数:132
LeetCode24 Swap Nodes in Pairs 成对交换链表节点
题目: Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant s...
分类:其他好文   时间:2015-05-06 15:09:58    阅读次数:109
leetcode-24 Swap Nodes in Pairs
问题描述:Given a linked list, swap every two adjacent nodes and return its head.For example, Given 1->2->3->4, you should return the list as 2->1->4->3.Your algorithm should use only constant space. You...
分类:其他好文   时间:2015-05-06 15:07:39    阅读次数:139
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2015-05-06 14:47:50    阅读次数:111
LeetCode 4 Median of Two Sorted Arrays
Problem: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). Solution: 使用...
分类:其他好文   时间:2015-05-06 13:23:40    阅读次数:124
Median of Two Sorted Arrays——解题笔记
【题目】 There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).     解法1:     直...
分类:其他好文   时间:2015-05-06 10:59:54    阅读次数:102
【leetcode】LRU Cache(hard)★
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:系统相关   时间:2015-05-06 10:42:19    阅读次数:132
Caused by: java.sql.SQLException: Operand should contain 1 column(s)
1、错误描述 [ERROR:]2015-05-05 15:48:55,847 [异常拦截] org.hibernate.exception.DataException: error executing work at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDe...
分类:数据库   时间:2015-05-05 23:52:14    阅读次数:799
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!