Source code for 'Coding Interviews' by Harry He
C++ Java C C#
Switch branches/tags
Nothing to show
Latest commit 8ca7e18 Mar 28, 2017 @gwens gwens Updated Readme.md
Permalink
Failed to load latest commit information.
Utility First commit Oct 16, 2016
001_PalindromeNumber.c First commit Oct 16, 2016
002_AssignmentOperator.cpp First commit Oct 16, 2016
003_Singleton.cs First commit Oct 16, 2016
004_Scheduler.java First commit Oct 16, 2016
005_Duplication.java First commit Oct 16, 2016
006_Duplication.java First commit Oct 16, 2016
007_FindInSortedMatrix.java First commit Oct 16, 2016
008_FindInPatiallySortedMatrix.java First commit Oct 16, 2016
009_ReplaceBlanks.c First commit Oct 16, 2016
010_MergeSortedArrays.c First commit Oct 16, 2016
011_SimpleRegularExpression.cpp First commit Oct 16, 2016
012_NumericStrings.cpp First commit Oct 16, 2016
013_PrintListsReversely.cpp First commit Oct 16, 2016
014_SortLists.cpp First commit Oct 16, 2016
015_MergeSortedLists.cpp First commit Oct 16, 2016
016_LoopsInLists.cpp First commit Oct 16, 2016
017_EntryNodeInLoopsInLists.cpp First commit Oct 16, 2016
018_NextNode.cpp First commit Oct 16, 2016
019_VerrifyBinarySearchTrees.cpp First commit Oct 16, 2016
020_LargestBinarySearchSubtrees.cpp First commit Oct 16, 2016
021_QueueWithTwoStacks.cs First commit Oct 16, 2016
022_StackWithTwoQueues.cs First commit Oct 16, 2016
023_Fibonacci.c First commit Oct 16, 2016
027_ArrayRotation.java First commit Oct 16, 2016
028_TurningNumber.java First commit Oct 16, 2016
029_MajorityElement.java First commit Oct 16, 2016
030_StringPath.cpp First commit Oct 16, 2016
031_RobotMove.cpp First commit Oct 16, 2016
032_EditDistance.cs First commit Oct 16, 2016
033_CoinChanges.cs First commit Oct 16, 2016
034_MinimalPresses.cs First commit Oct 16, 2016
035_NumberOf1.c First commit Oct 16, 2016
037_ModifyANumberToAnother.c First commit Oct 16, 2016
038_NumbersOccuringOnce.java First commit Oct 16, 2016
039_FindTwoMissingNumbers.java First commit Oct 16, 2016
040_Power.cpp First commit Oct 16, 2016
041_Print1ToMaxOfNDigits.cpp First commit Oct 16, 2016
042_AddNumericStrings.c First commit Oct 16, 2016
043_DeleteNodeInList.cpp First commit Oct 16, 2016
044_DeleteDuplicationInList.cpp First commit Oct 16, 2016
045_ReorderNumbers.java First commit Oct 16, 2016
046_RemoveNumbers.java First commit Oct 16, 2016
047_KthNodeFromEnd.cpp First commit Oct 16, 2016
048_ReverseList.cpp First commit Oct 16, 2016
049_ReverseListInGroups.cpp First commit Oct 16, 2016
050_SubtreeInTree.cpp First commit Oct 16, 2016
051_MirrorOfBinaryTree.cpp First commit Oct 16, 2016
052_SymmetricalBinaryTrees.cpp First commit Oct 16, 2016
053_PrintMatrix.java First commit Oct 16, 2016
054_CloneComplexList.cpp First commit Oct 16, 2016
055_MinInStack.cpp First commit Oct 16, 2016
056_StackPushPopOrder.cpp First commit Oct 16, 2016
057_PrintTreeByLevel.cpp First commit Oct 16, 2016
058_PrintTreeALevelInALine.cpp First commit Oct 16, 2016
059_PrintTreeZigzag.cpp First commit Oct 16, 2016
060_PathInTree.cpp First commit Oct 16, 2016
061_ConstructBinaryTree.cpp First commit Oct 16, 2016
062_SerializeBinaryTree.cpp First commit Oct 16, 2016
063_SequenceOfBST.cpp First commit Oct 16, 2016
064_ConvertBinarySearchTree.cpp First commit Oct 16, 2016
065_StringPermutation.c First commit Oct 16, 2016
066_EightQueens.c First commit Oct 16, 2016
067_ArrayPermutation.java First commit Oct 16, 2016
068_StringCombination.java First commit Oct 16, 2016
069_MedianStream.cpp First commit Oct 16, 2016
070_KLeastNumbers.java First commit Oct 16, 2016
071_ArrayIntersection.cpp First commit Oct 16, 2016
072_GreatestSumOfSubarrays.java First commit Oct 16, 2016
073_NumberOf1.c First commit Oct 16, 2016
074_SortArrayForMinNumber.java First commit Oct 16, 2016
075_UglyNumbers.cs First commit Oct 16, 2016
076_FirstNotRepeatingChar.cpp First commit Oct 16, 2016
077_FirstCharAppearingOnce.cpp First commit Oct 16, 2016
078_DelelteCharacters.c First commit Oct 16, 2016
079_DelelteDuplicatedCharacters.c First commit Oct 16, 2016
080_Anagram.java First commit Oct 16, 2016
081_ReversedPairs.java First commit Oct 16, 2016
082_FirstCommonNodesInLists.cpp First commit Oct 16, 2016
083_Occurrence.java First commit Oct 16, 2016
084_KthNodeInBST.cpp First commit Oct 16, 2016
085_TreeDepth.cpp First commit Oct 16, 2016
086_BalancedBinaryTree.cpp First commit Oct 16, 2016
087_TwoNumbersWithSum.java First commit Oct 16, 2016
088_ThreeNumbersWithSum.java First commit Oct 16, 2016
089_SubsetWithSum.java First commit Oct 16, 2016
090_ContinousSequenceWithSum.java First commit Oct 16, 2016
091_ReverseWordsInSentence.cpp First commit Oct 16, 2016
092_LeftRotateString.cpp First commit Oct 16, 2016
093_MaxInSlidingWindows.cpp First commit Oct 16, 2016
094_QueueWithMax.cpp First commit Oct 16, 2016
095_DicesProbability.cpp First commit Oct 16, 2016
096_LastNumberInCircle.cpp First commit Oct 16, 2016
097_MinimalMoves.java First commit Oct 16, 2016
098_MaximalProfitBuyingSellingStock.cpp First commit Oct 16, 2016
099_Accumulate.cpp First commit Oct 16, 2016
100_103_ArithmeticOperations.java First commit Oct 16, 2016
104_SealedClass.cpp First commit Oct 16, 2016
105_ConstuctArray.java First commit Oct 16, 2016
106_StringToInt.cpp First commit Oct 16, 2016
107_LowestAncestorInTrees.cpp First commit Oct 16, 2016
9781430247616.jpg First commit Oct 16, 2016
LICENSE.txt First commit Oct 16, 2016
README.md Updated Readme.md Mar 28, 2017
contributing.md First commit Oct 16, 2016

README.md

Apress Source Code

This repository accompanies Coding Interviews by Harry He (Apress, 2012).

Cover image

Download the files as a zip using the green button, or clone the repository to your machine using Git.

Releases

Release v1.0 corresponds to the code in the published book, without corrections or updates.

Contributions

See the file Contributing.md for more information on how you can contribute to this repository.