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

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.