上一页 1 2 3 4 5 6 7 8 9 10 ··· 22 下一页
摘要: 面试的时候发现会问一些SQL的基本问题,在此总结一下。ProgramInterview/SQL这个网站上的问题还比较全。1. Join typeINNER JOIN: Returns all rows when there is at least one match in BOTH tablesLE... 阅读全文
posted @ 2015-11-07 02:12 树獭君 阅读(208) 评论(0) 推荐(0)
摘要: QuestionFollow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solut... 阅读全文
posted @ 2015-11-07 00:10 树獭君 阅读(157) 评论(0) 推荐(0)
摘要: QuestionDivide two integers without using multiplication, division and mod operator.If it is overflow, return MAX_INT.Solutiondividend = divisor * quo... 阅读全文
posted @ 2015-11-06 05:26 树獭君 阅读(142) 评论(0) 推荐(0)
摘要: 原文public class HashMapextends AbstractMapimplements Map, Cloneable, Serializable1.Hash table based implementation of theMapinterface. This implementat... 阅读全文
posted @ 2015-11-06 03:31 树獭君 阅读(300) 评论(0) 推荐(0)
摘要: 原文What’s the difference between an interface and an abstract class in Java?It’s best to start answering this question with a brief definition of abstr... 阅读全文
posted @ 2015-11-06 03:22 树獭君 阅读(420) 评论(0) 推荐(0)
摘要: Reference: TutorialPoints, GeekforGeeksThecopy constructoris a constructor which creates an object by initializing it with an object of the same class... 阅读全文
posted @ 2015-11-06 03:06 树獭君 阅读(711) 评论(0) 推荐(0)
摘要: QuestionGiven an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in the array which gives the... 阅读全文
posted @ 2015-11-05 22:56 树獭君 阅读(215) 评论(0) 推荐(0)
摘要: QuestionGiven a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthe... 阅读全文
posted @ 2015-11-05 21:59 树獭君 阅读(115) 评论(0) 推荐(0)
摘要: QuestionGiven a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2->1->4->3.Yo... 阅读全文
posted @ 2015-11-05 11:31 树獭君 阅读(171) 评论(0) 推荐(0)
摘要: QuestionGiven a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3w... 阅读全文
posted @ 2015-11-05 09:09 树獭君 阅读(171) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 22 下一页