├── Accumulate ├── Accumulate.cpp ├── Accumulate.py └── README.md ├── AddTwoNumbers ├── AddTwoNumbers.cpp ├── AddTwoNumbers.py └── README.md ├── BalancedBinaryTree ├── BalancedBinaryTree.cpp ├── BalancedBinaryTree.py └── README.md ├── CMyString ├── CMyString.cpp ├── CMyString.h ├── README.md └── main.cpp ├── ConstructBinaryTree ├── ConstructBinaryTree.cpp ├── ConstructBinaryTree.py ├── Images │ └── 1.jpg └── README.md ├── ConstuctArray ├── ConstuctArray.cpp ├── ConstuctArray.py ├── Image │ └── image.png └── README.md ├── ContinousCards ├── ContinousCards.cpp ├── ContinousCards.py └── README.md ├── ContinuousSquenceWithSum ├── ContinuousSquenceWithSum.cpp ├── ContinuousSquenceWithSum.py └── README.md ├── ConvertBinarySearchTree ├── ConvertBinarySearchTree.cpp ├── ConvertBinarySearchTree.py └── README.md ├── CopyComplexList ├── CopyComplexList.cpp ├── CopyComplexList.py ├── Images │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ └── 5.png └── README.md ├── CuttingRope ├── 1.jpg ├── CuttingRope.cpp ├── CuttingRope.py └── README.md ├── DeleteDuplicatedNode ├── DeleteDuplicatedNode.cpp ├── DeleteDuplicatedNode.py └── README.md ├── DeleteNodeInList ├── DeleteNodeInList.cpp ├── DeleteNodeInList.py ├── Images │ └── 1.png └── README.md ├── DuplicationInArray ├── DuplicationInArray.cpp ├── DuplicationInArray.py ├── DuplicationInArrayNoEdit.cpp ├── DuplicationInArrayNoEdit.py └── README.md ├── EntryNodeInListLoop ├── EntryNodeInListLoop.cpp ├── EntryNodeInListLoop.py └── README.md ├── Fibonacci ├── Fibonacci.cpp ├── Fibonacci.py └── README.md ├── FindInPartiallySortedMatrix ├── FindInPartiallySortedMatrix.cpp ├── FindInPartiallySortedMatrix.py └── README.md ├── FindNthDigit ├── FindNthDigit.cpp ├── FindNthDigit.py └── README.md ├── FirstCharacterInStream ├── FirstCharacterInStream.cpp ├── FirstCharacterInStream.py └── README.md ├── FirstCommonNodesInLists ├── FirstCommonNodesInLists.cpp ├── FirstCommonNodesInLists.py └── README.md ├── FirstNotRepeatingChar ├── FirstNotRepeatingChar.cpp ├── FirstNotRepeatingChar.py └── README.md ├── GreatestSumOfSubarrays ├── GreatestSumOfSubarrays.cpp ├── GreatestSumOfSubarrays.py └── README.md ├── IntegerIdenticalToIndex ├── IntegerIdenticalToIndex.cpp ├── IntegerIdenticalToIndex.py └── README.md ├── InversePairs ├── 1.jpg ├── InversePairs.cpp ├── InversePairs.py └── README.md ├── JumpFloor ├── JumpFloor.cpp ├── JumpFloor.py └── README.md ├── JumpFloorII ├── JumpFloorII.cpp ├── JumpFloorII.py └── README.md ├── KLeastNumbers ├── Images │ └── Partition.png ├── KLeastNumbers.cpp ├── KLeastNumbers.py ├── Partition函数.md └── README.md ├── KthNodeFromEnd ├── Images │ ├── 1.png │ └── 2.jpg ├── KthNodeFromEnd.cpp ├── KthNodeFromEnd.py └── README.md ├── KthNodeInBST ├── KthNodeInBST.cpp ├── KthNodeInBST.py └── README.md ├── LastNumberInCircle ├── LastNumberInCircle.cpp ├── LastNumberInCircle.py └── README.md ├── LeftRotateString ├── LeftRotateString.cpp ├── LeftRotateString.py └── README.md ├── LongestConsecutive └── README.md ├── MaxInSlidingWindow ├── MaxInSlidingWindow.cpp ├── MaxInSlidingWindow.py └── README.md ├── MaxProfit └── README.md ├── MaxQueue ├── MaxQueue.cpp ├── MaxQueue.py └── README.md ├── MergeSortedLists ├── MergeSortedLists.cpp ├── MergeSortedLists.py └── README.md ├── MinInStack ├── MinInStack.cpp ├── MinInStack.py └── README.md ├── MinNumberInRotatedArray ├── MinNumberInRotatedArray.cpp ├── MinNumberInRotatedArray.py └── README.md ├── MirrorOfBinaryTree ├── Images │ └── 1.png ├── MirrorOfBinaryTree.cpp ├── MirrorOfBinaryTree.py └── README.md ├── MissingNumber ├── MissingNumber.cpp ├── MissingNumber.py └── README.md ├── MoreThanHalfNumber ├── MoreThanHalfNumber.cpp ├── MoreThanHalfNumber.py └── README.md ├── NextNodeInBinaryTrees ├── NextNodeInBinaryTrees.cpp ├── NextNodeInBinaryTrees.py └── README.md ├── Nge └── README.md ├── NumberAppearingOnce ├── NumberAppearingOnce.cpp ├── NumberAppearingOnce.py └── README.md ├── NumberOf1 ├── NumberOf1.cpp ├── NumberOf1.py └── README.md ├── NumberOf1InBinary ├── NumberOf1InBinary.cpp ├── NumberOf1InBinary.py └── README.md ├── NumberOfK ├── NumberOfK.cpp ├── NumberOfK.py └── README.md ├── NumbersAppearOnce ├── NumbersAppearOnce.cpp ├── NumbersAppearOnce.py └── README.md ├── NumericStrings ├── NumericStrings.cpp ├── NumericStrings.py └── README.md ├── PathInTree ├── PathInTree.cpp ├── PathInTree.py └── README.md ├── Power ├── Power.cpp ├── Power.py └── README.md ├── PrintListInReversedOrder ├── PrintListInReversedOrder.cpp ├── PrintListInReversedOrder.py └── README.md ├── PrintMatrix ├── PrintMatrix.cpp ├── PrintMatrix.py └── README.md ├── PrintNumbers ├── PrintNumbers.cpp ├── PrintNumbers.py └── README.md ├── PrintTreeFromTopToBottom ├── PrintTreeFromTopToBottom.cpp ├── PrintTreeFromTopToBottom.py └── README.md ├── PrintTreesInLines ├── PrintTreesInLines.cpp ├── PrintTreesInLines.py └── README.md ├── PrintTreesInZigzag ├── PrintTreesInZigzag.cpp ├── PrintTreesInZigzag.py └── README.md ├── QueueWithTwoStacks ├── QueueWithTwoStacks.cpp ├── QueueWithTwoStacks.py └── README.md ├── README.md ├── RectCover ├── README.md ├── RectCover.cpp └── RectCover.py ├── RegularExpressionsMatching ├── Image │ ├── 1.png │ └── 复杂度分析.png ├── README.md ├── RegularExpressionsMatching.cpp └── RegularExpressionsMatching.py ├── ReorderArray ├── README.md ├── ReorderArray.cpp └── ReorderArray.py ├── ReplaceSpaces ├── Images │ ├── 1.jpg │ ├── 2.jpg │ └── 3.jpg ├── README.md ├── ReplaceSpaces.cpp └── ReplaceSpaces.py ├── ReverseList ├── README.md ├── ReverseList.cpp └── ReverseList.py ├── ReverseWordsInSentence ├── README.md ├── ReverseWordsInSentence.cpp └── ReverseWordsInSentence.py ├── RobotMove ├── README.md ├── RobotMove.cpp └── RobotMove.py ├── SerializeBinaryTrees ├── README.md ├── SerializeBinaryTrees.cpp └── SerializeBinaryTrees.py ├── Singleton └── README.md ├── Sort ├── README.md └── img │ └── sort_summary.jpg ├── SortArrayForMinNumber ├── Images │ ├── 1.png │ ├── 2.png │ └── 3.png ├── README.md ├── SortArrayForMinNumber.cpp └── SortArrayForMinNumber.py ├── SquenceOfBST ├── README.md ├── SquenceOfBST.cpp └── SquenceOfBST.py ├── StackPushPopOrder ├── Images │ ├── 1.png │ └── 2.png ├── README.md ├── StackPushPopOrder.cpp └── StackPushPopOrder.py ├── StreamMedian ├── README.md ├── StreamMedian.cpp └── StreamMedian.py ├── StringPathInMatrix ├── README.md ├── StringPathInMatrix.cpp └── StringPathInMatrix.py ├── StringPermutation ├── README.md ├── StringPermutation.cpp └── StringPermutation.py ├── StringToInt ├── README.md ├── StringToInt.cpp └── StringToInt.py ├── SubstructureInTree ├── README.md ├── SubstructureInTree.cpp └── SubstructureInTree.py ├── SymmetricalBinaryTree ├── README.md ├── SymmetricalBinaryTree.cpp └── SymmetricalBinaryTree.py ├── TranslateNum ├── 1.jpg ├── README.md ├── TranslateNum.cpp └── TranslateNum.py ├── TreeDepth ├── README.md ├── TreeDepth.cpp └── TreeDepth.py ├── TwoNumbersWithSum ├── README.md ├── TwoNumbersWithSum.cpp └── TwoNumbersWithSum.py └── UglyNumber ├── README.md ├── UglyNumber.cpp └── UglyNumber.py /Accumulate/Accumulate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/Accumulate/Accumulate.cpp -------------------------------------------------------------------------------- /Accumulate/Accumulate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/Accumulate/Accumulate.py -------------------------------------------------------------------------------- /Accumulate/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/Accumulate/README.md -------------------------------------------------------------------------------- /AddTwoNumbers/AddTwoNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/AddTwoNumbers/AddTwoNumbers.cpp -------------------------------------------------------------------------------- /AddTwoNumbers/AddTwoNumbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/AddTwoNumbers/AddTwoNumbers.py -------------------------------------------------------------------------------- /AddTwoNumbers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/AddTwoNumbers/README.md -------------------------------------------------------------------------------- /BalancedBinaryTree/BalancedBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/BalancedBinaryTree/BalancedBinaryTree.cpp -------------------------------------------------------------------------------- /BalancedBinaryTree/BalancedBinaryTree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/BalancedBinaryTree/BalancedBinaryTree.py -------------------------------------------------------------------------------- /BalancedBinaryTree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/BalancedBinaryTree/README.md -------------------------------------------------------------------------------- /CMyString/CMyString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CMyString/CMyString.cpp -------------------------------------------------------------------------------- /CMyString/CMyString.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CMyString/CMyString.h -------------------------------------------------------------------------------- /CMyString/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CMyString/README.md -------------------------------------------------------------------------------- /CMyString/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CMyString/main.cpp -------------------------------------------------------------------------------- /ConstructBinaryTree/ConstructBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ConstructBinaryTree/ConstructBinaryTree.cpp -------------------------------------------------------------------------------- /ConstructBinaryTree/ConstructBinaryTree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ConstructBinaryTree/ConstructBinaryTree.py -------------------------------------------------------------------------------- /ConstructBinaryTree/Images/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ConstructBinaryTree/Images/1.jpg -------------------------------------------------------------------------------- /ConstructBinaryTree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ConstructBinaryTree/README.md -------------------------------------------------------------------------------- /ConstuctArray/ConstuctArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ConstuctArray/ConstuctArray.cpp -------------------------------------------------------------------------------- /ConstuctArray/ConstuctArray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ConstuctArray/ConstuctArray.py -------------------------------------------------------------------------------- /ConstuctArray/Image/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ConstuctArray/Image/image.png -------------------------------------------------------------------------------- /ConstuctArray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ConstuctArray/README.md -------------------------------------------------------------------------------- /ContinousCards/ContinousCards.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ContinousCards/ContinousCards.cpp -------------------------------------------------------------------------------- /ContinousCards/ContinousCards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ContinousCards/ContinousCards.py -------------------------------------------------------------------------------- /ContinousCards/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ContinousCards/README.md -------------------------------------------------------------------------------- /ContinuousSquenceWithSum/ContinuousSquenceWithSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ContinuousSquenceWithSum/ContinuousSquenceWithSum.cpp -------------------------------------------------------------------------------- /ContinuousSquenceWithSum/ContinuousSquenceWithSum.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ContinuousSquenceWithSum/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ContinuousSquenceWithSum/README.md -------------------------------------------------------------------------------- /ConvertBinarySearchTree/ConvertBinarySearchTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ConvertBinarySearchTree/ConvertBinarySearchTree.cpp -------------------------------------------------------------------------------- /ConvertBinarySearchTree/ConvertBinarySearchTree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ConvertBinarySearchTree/ConvertBinarySearchTree.py -------------------------------------------------------------------------------- /ConvertBinarySearchTree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ConvertBinarySearchTree/README.md -------------------------------------------------------------------------------- /CopyComplexList/CopyComplexList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CopyComplexList/CopyComplexList.cpp -------------------------------------------------------------------------------- /CopyComplexList/CopyComplexList.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CopyComplexList/CopyComplexList.py -------------------------------------------------------------------------------- /CopyComplexList/Images/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CopyComplexList/Images/1.png -------------------------------------------------------------------------------- /CopyComplexList/Images/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CopyComplexList/Images/2.png -------------------------------------------------------------------------------- /CopyComplexList/Images/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CopyComplexList/Images/3.png -------------------------------------------------------------------------------- /CopyComplexList/Images/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CopyComplexList/Images/4.png -------------------------------------------------------------------------------- /CopyComplexList/Images/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CopyComplexList/Images/5.png -------------------------------------------------------------------------------- /CopyComplexList/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CopyComplexList/README.md -------------------------------------------------------------------------------- /CuttingRope/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CuttingRope/1.jpg -------------------------------------------------------------------------------- /CuttingRope/CuttingRope.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CuttingRope/CuttingRope.cpp -------------------------------------------------------------------------------- /CuttingRope/CuttingRope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CuttingRope/CuttingRope.py -------------------------------------------------------------------------------- /CuttingRope/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/CuttingRope/README.md -------------------------------------------------------------------------------- /DeleteDuplicatedNode/DeleteDuplicatedNode.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/DeleteDuplicatedNode/DeleteDuplicatedNode.cpp -------------------------------------------------------------------------------- /DeleteDuplicatedNode/DeleteDuplicatedNode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/DeleteDuplicatedNode/DeleteDuplicatedNode.py -------------------------------------------------------------------------------- /DeleteDuplicatedNode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/DeleteDuplicatedNode/README.md -------------------------------------------------------------------------------- /DeleteNodeInList/DeleteNodeInList.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/DeleteNodeInList/DeleteNodeInList.cpp -------------------------------------------------------------------------------- /DeleteNodeInList/DeleteNodeInList.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/DeleteNodeInList/DeleteNodeInList.py -------------------------------------------------------------------------------- /DeleteNodeInList/Images/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/DeleteNodeInList/Images/1.png -------------------------------------------------------------------------------- /DeleteNodeInList/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/DeleteNodeInList/README.md -------------------------------------------------------------------------------- /DuplicationInArray/DuplicationInArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/DuplicationInArray/DuplicationInArray.cpp -------------------------------------------------------------------------------- /DuplicationInArray/DuplicationInArray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/DuplicationInArray/DuplicationInArray.py -------------------------------------------------------------------------------- /DuplicationInArray/DuplicationInArrayNoEdit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/DuplicationInArray/DuplicationInArrayNoEdit.cpp -------------------------------------------------------------------------------- /DuplicationInArray/DuplicationInArrayNoEdit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/DuplicationInArray/DuplicationInArrayNoEdit.py -------------------------------------------------------------------------------- /DuplicationInArray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/DuplicationInArray/README.md -------------------------------------------------------------------------------- /EntryNodeInListLoop/EntryNodeInListLoop.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/EntryNodeInListLoop/EntryNodeInListLoop.cpp -------------------------------------------------------------------------------- /EntryNodeInListLoop/EntryNodeInListLoop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/EntryNodeInListLoop/EntryNodeInListLoop.py -------------------------------------------------------------------------------- /EntryNodeInListLoop/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/EntryNodeInListLoop/README.md -------------------------------------------------------------------------------- /Fibonacci/Fibonacci.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/Fibonacci/Fibonacci.cpp -------------------------------------------------------------------------------- /Fibonacci/Fibonacci.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/Fibonacci/Fibonacci.py -------------------------------------------------------------------------------- /Fibonacci/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/Fibonacci/README.md -------------------------------------------------------------------------------- /FindInPartiallySortedMatrix/FindInPartiallySortedMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FindInPartiallySortedMatrix/FindInPartiallySortedMatrix.cpp -------------------------------------------------------------------------------- /FindInPartiallySortedMatrix/FindInPartiallySortedMatrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FindInPartiallySortedMatrix/FindInPartiallySortedMatrix.py -------------------------------------------------------------------------------- /FindInPartiallySortedMatrix/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FindInPartiallySortedMatrix/README.md -------------------------------------------------------------------------------- /FindNthDigit/FindNthDigit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FindNthDigit/FindNthDigit.cpp -------------------------------------------------------------------------------- /FindNthDigit/FindNthDigit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FindNthDigit/FindNthDigit.py -------------------------------------------------------------------------------- /FindNthDigit/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FindNthDigit/README.md -------------------------------------------------------------------------------- /FirstCharacterInStream/FirstCharacterInStream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FirstCharacterInStream/FirstCharacterInStream.cpp -------------------------------------------------------------------------------- /FirstCharacterInStream/FirstCharacterInStream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FirstCharacterInStream/FirstCharacterInStream.py -------------------------------------------------------------------------------- /FirstCharacterInStream/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FirstCharacterInStream/README.md -------------------------------------------------------------------------------- /FirstCommonNodesInLists/FirstCommonNodesInLists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FirstCommonNodesInLists/FirstCommonNodesInLists.cpp -------------------------------------------------------------------------------- /FirstCommonNodesInLists/FirstCommonNodesInLists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FirstCommonNodesInLists/FirstCommonNodesInLists.py -------------------------------------------------------------------------------- /FirstCommonNodesInLists/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FirstCommonNodesInLists/README.md -------------------------------------------------------------------------------- /FirstNotRepeatingChar/FirstNotRepeatingChar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FirstNotRepeatingChar/FirstNotRepeatingChar.cpp -------------------------------------------------------------------------------- /FirstNotRepeatingChar/FirstNotRepeatingChar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FirstNotRepeatingChar/FirstNotRepeatingChar.py -------------------------------------------------------------------------------- /FirstNotRepeatingChar/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/FirstNotRepeatingChar/README.md -------------------------------------------------------------------------------- /GreatestSumOfSubarrays/GreatestSumOfSubarrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/GreatestSumOfSubarrays/GreatestSumOfSubarrays.cpp -------------------------------------------------------------------------------- /GreatestSumOfSubarrays/GreatestSumOfSubarrays.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/GreatestSumOfSubarrays/GreatestSumOfSubarrays.py -------------------------------------------------------------------------------- /GreatestSumOfSubarrays/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/GreatestSumOfSubarrays/README.md -------------------------------------------------------------------------------- /IntegerIdenticalToIndex/IntegerIdenticalToIndex.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/IntegerIdenticalToIndex/IntegerIdenticalToIndex.cpp -------------------------------------------------------------------------------- /IntegerIdenticalToIndex/IntegerIdenticalToIndex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/IntegerIdenticalToIndex/IntegerIdenticalToIndex.py -------------------------------------------------------------------------------- /IntegerIdenticalToIndex/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/IntegerIdenticalToIndex/README.md -------------------------------------------------------------------------------- /InversePairs/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/InversePairs/1.jpg -------------------------------------------------------------------------------- /InversePairs/InversePairs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/InversePairs/InversePairs.cpp -------------------------------------------------------------------------------- /InversePairs/InversePairs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/InversePairs/InversePairs.py -------------------------------------------------------------------------------- /InversePairs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/InversePairs/README.md -------------------------------------------------------------------------------- /JumpFloor/JumpFloor.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /JumpFloor/JumpFloor.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /JumpFloor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/JumpFloor/README.md -------------------------------------------------------------------------------- /JumpFloorII/JumpFloorII.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/JumpFloorII/JumpFloorII.cpp -------------------------------------------------------------------------------- /JumpFloorII/JumpFloorII.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/JumpFloorII/JumpFloorII.py -------------------------------------------------------------------------------- /JumpFloorII/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/JumpFloorII/README.md -------------------------------------------------------------------------------- /KLeastNumbers/Images/Partition.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/KLeastNumbers/Images/Partition.png -------------------------------------------------------------------------------- /KLeastNumbers/KLeastNumbers.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /KLeastNumbers/KLeastNumbers.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /KLeastNumbers/Partition函数.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/KLeastNumbers/Partition函数.md -------------------------------------------------------------------------------- /KLeastNumbers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/KLeastNumbers/README.md -------------------------------------------------------------------------------- /KthNodeFromEnd/Images/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/KthNodeFromEnd/Images/1.png -------------------------------------------------------------------------------- /KthNodeFromEnd/Images/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/KthNodeFromEnd/Images/2.jpg -------------------------------------------------------------------------------- /KthNodeFromEnd/KthNodeFromEnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/KthNodeFromEnd/KthNodeFromEnd.cpp -------------------------------------------------------------------------------- /KthNodeFromEnd/KthNodeFromEnd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/KthNodeFromEnd/KthNodeFromEnd.py -------------------------------------------------------------------------------- /KthNodeFromEnd/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/KthNodeFromEnd/README.md -------------------------------------------------------------------------------- /KthNodeInBST/KthNodeInBST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/KthNodeInBST/KthNodeInBST.cpp -------------------------------------------------------------------------------- /KthNodeInBST/KthNodeInBST.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/KthNodeInBST/KthNodeInBST.py -------------------------------------------------------------------------------- /KthNodeInBST/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/KthNodeInBST/README.md -------------------------------------------------------------------------------- /LastNumberInCircle/LastNumberInCircle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/LastNumberInCircle/LastNumberInCircle.cpp -------------------------------------------------------------------------------- /LastNumberInCircle/LastNumberInCircle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/LastNumberInCircle/LastNumberInCircle.py -------------------------------------------------------------------------------- /LastNumberInCircle/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/LastNumberInCircle/README.md -------------------------------------------------------------------------------- /LeftRotateString/LeftRotateString.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/LeftRotateString/LeftRotateString.cpp -------------------------------------------------------------------------------- /LeftRotateString/LeftRotateString.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/LeftRotateString/LeftRotateString.py -------------------------------------------------------------------------------- /LeftRotateString/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/LeftRotateString/README.md -------------------------------------------------------------------------------- /LongestConsecutive/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/LongestConsecutive/README.md -------------------------------------------------------------------------------- /MaxInSlidingWindow/MaxInSlidingWindow.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /MaxInSlidingWindow/MaxInSlidingWindow.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /MaxInSlidingWindow/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MaxInSlidingWindow/README.md -------------------------------------------------------------------------------- /MaxProfit/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MaxProfit/README.md -------------------------------------------------------------------------------- /MaxQueue/MaxQueue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MaxQueue/MaxQueue.cpp -------------------------------------------------------------------------------- /MaxQueue/MaxQueue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MaxQueue/MaxQueue.py -------------------------------------------------------------------------------- /MaxQueue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MaxQueue/README.md -------------------------------------------------------------------------------- /MergeSortedLists/MergeSortedLists.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MergeSortedLists/MergeSortedLists.cpp -------------------------------------------------------------------------------- /MergeSortedLists/MergeSortedLists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MergeSortedLists/MergeSortedLists.py -------------------------------------------------------------------------------- /MergeSortedLists/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MergeSortedLists/README.md -------------------------------------------------------------------------------- /MinInStack/MinInStack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MinInStack/MinInStack.cpp -------------------------------------------------------------------------------- /MinInStack/MinInStack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MinInStack/MinInStack.py -------------------------------------------------------------------------------- /MinInStack/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MinInStack/README.md -------------------------------------------------------------------------------- /MinNumberInRotatedArray/MinNumberInRotatedArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MinNumberInRotatedArray/MinNumberInRotatedArray.cpp -------------------------------------------------------------------------------- /MinNumberInRotatedArray/MinNumberInRotatedArray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MinNumberInRotatedArray/MinNumberInRotatedArray.py -------------------------------------------------------------------------------- /MinNumberInRotatedArray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MinNumberInRotatedArray/README.md -------------------------------------------------------------------------------- /MirrorOfBinaryTree/Images/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MirrorOfBinaryTree/Images/1.png -------------------------------------------------------------------------------- /MirrorOfBinaryTree/MirrorOfBinaryTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MirrorOfBinaryTree/MirrorOfBinaryTree.cpp -------------------------------------------------------------------------------- /MirrorOfBinaryTree/MirrorOfBinaryTree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MirrorOfBinaryTree/MirrorOfBinaryTree.py -------------------------------------------------------------------------------- /MirrorOfBinaryTree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MirrorOfBinaryTree/README.md -------------------------------------------------------------------------------- /MissingNumber/MissingNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MissingNumber/MissingNumber.cpp -------------------------------------------------------------------------------- /MissingNumber/MissingNumber.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MissingNumber/MissingNumber.py -------------------------------------------------------------------------------- /MissingNumber/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MissingNumber/README.md -------------------------------------------------------------------------------- /MoreThanHalfNumber/MoreThanHalfNumber.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /MoreThanHalfNumber/MoreThanHalfNumber.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /MoreThanHalfNumber/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/MoreThanHalfNumber/README.md -------------------------------------------------------------------------------- /NextNodeInBinaryTrees/NextNodeInBinaryTrees.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NextNodeInBinaryTrees/NextNodeInBinaryTrees.cpp -------------------------------------------------------------------------------- /NextNodeInBinaryTrees/NextNodeInBinaryTrees.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NextNodeInBinaryTrees/NextNodeInBinaryTrees.py -------------------------------------------------------------------------------- /NextNodeInBinaryTrees/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NextNodeInBinaryTrees/README.md -------------------------------------------------------------------------------- /Nge/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/Nge/README.md -------------------------------------------------------------------------------- /NumberAppearingOnce/NumberAppearingOnce.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumberAppearingOnce/NumberAppearingOnce.cpp -------------------------------------------------------------------------------- /NumberAppearingOnce/NumberAppearingOnce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumberAppearingOnce/NumberAppearingOnce.py -------------------------------------------------------------------------------- /NumberAppearingOnce/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumberAppearingOnce/README.md -------------------------------------------------------------------------------- /NumberOf1/NumberOf1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumberOf1/NumberOf1.cpp -------------------------------------------------------------------------------- /NumberOf1/NumberOf1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumberOf1/NumberOf1.py -------------------------------------------------------------------------------- /NumberOf1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumberOf1/README.md -------------------------------------------------------------------------------- /NumberOf1InBinary/NumberOf1InBinary.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumberOf1InBinary/NumberOf1InBinary.cpp -------------------------------------------------------------------------------- /NumberOf1InBinary/NumberOf1InBinary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumberOf1InBinary/NumberOf1InBinary.py -------------------------------------------------------------------------------- /NumberOf1InBinary/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumberOf1InBinary/README.md -------------------------------------------------------------------------------- /NumberOfK/NumberOfK.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumberOfK/NumberOfK.cpp -------------------------------------------------------------------------------- /NumberOfK/NumberOfK.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumberOfK/NumberOfK.py -------------------------------------------------------------------------------- /NumberOfK/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumberOfK/README.md -------------------------------------------------------------------------------- /NumbersAppearOnce/NumbersAppearOnce.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumbersAppearOnce/NumbersAppearOnce.cpp -------------------------------------------------------------------------------- /NumbersAppearOnce/NumbersAppearOnce.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumbersAppearOnce/NumbersAppearOnce.py -------------------------------------------------------------------------------- /NumbersAppearOnce/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumbersAppearOnce/README.md -------------------------------------------------------------------------------- /NumericStrings/NumericStrings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumericStrings/NumericStrings.cpp -------------------------------------------------------------------------------- /NumericStrings/NumericStrings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumericStrings/NumericStrings.py -------------------------------------------------------------------------------- /NumericStrings/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/NumericStrings/README.md -------------------------------------------------------------------------------- /PathInTree/PathInTree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PathInTree/PathInTree.cpp -------------------------------------------------------------------------------- /PathInTree/PathInTree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PathInTree/PathInTree.py -------------------------------------------------------------------------------- /PathInTree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PathInTree/README.md -------------------------------------------------------------------------------- /Power/Power.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/Power/Power.cpp -------------------------------------------------------------------------------- /Power/Power.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/Power/Power.py -------------------------------------------------------------------------------- /Power/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/Power/README.md -------------------------------------------------------------------------------- /PrintListInReversedOrder/PrintListInReversedOrder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintListInReversedOrder/PrintListInReversedOrder.cpp -------------------------------------------------------------------------------- /PrintListInReversedOrder/PrintListInReversedOrder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintListInReversedOrder/PrintListInReversedOrder.py -------------------------------------------------------------------------------- /PrintListInReversedOrder/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintListInReversedOrder/README.md -------------------------------------------------------------------------------- /PrintMatrix/PrintMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintMatrix/PrintMatrix.cpp -------------------------------------------------------------------------------- /PrintMatrix/PrintMatrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintMatrix/PrintMatrix.py -------------------------------------------------------------------------------- /PrintMatrix/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintMatrix/README.md -------------------------------------------------------------------------------- /PrintNumbers/PrintNumbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintNumbers/PrintNumbers.cpp -------------------------------------------------------------------------------- /PrintNumbers/PrintNumbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintNumbers/PrintNumbers.py -------------------------------------------------------------------------------- /PrintNumbers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintNumbers/README.md -------------------------------------------------------------------------------- /PrintTreeFromTopToBottom/PrintTreeFromTopToBottom.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintTreeFromTopToBottom/PrintTreeFromTopToBottom.cpp -------------------------------------------------------------------------------- /PrintTreeFromTopToBottom/PrintTreeFromTopToBottom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintTreeFromTopToBottom/PrintTreeFromTopToBottom.py -------------------------------------------------------------------------------- /PrintTreeFromTopToBottom/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintTreeFromTopToBottom/README.md -------------------------------------------------------------------------------- /PrintTreesInLines/PrintTreesInLines.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintTreesInLines/PrintTreesInLines.cpp -------------------------------------------------------------------------------- /PrintTreesInLines/PrintTreesInLines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintTreesInLines/PrintTreesInLines.py -------------------------------------------------------------------------------- /PrintTreesInLines/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintTreesInLines/README.md -------------------------------------------------------------------------------- /PrintTreesInZigzag/PrintTreesInZigzag.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintTreesInZigzag/PrintTreesInZigzag.cpp -------------------------------------------------------------------------------- /PrintTreesInZigzag/PrintTreesInZigzag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintTreesInZigzag/PrintTreesInZigzag.py -------------------------------------------------------------------------------- /PrintTreesInZigzag/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/PrintTreesInZigzag/README.md -------------------------------------------------------------------------------- /QueueWithTwoStacks/QueueWithTwoStacks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/QueueWithTwoStacks/QueueWithTwoStacks.cpp -------------------------------------------------------------------------------- /QueueWithTwoStacks/QueueWithTwoStacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/QueueWithTwoStacks/QueueWithTwoStacks.py -------------------------------------------------------------------------------- /QueueWithTwoStacks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/QueueWithTwoStacks/README.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/README.md -------------------------------------------------------------------------------- /RectCover/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/RectCover/README.md -------------------------------------------------------------------------------- /RectCover/RectCover.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /RectCover/RectCover.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /RegularExpressionsMatching/Image/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/RegularExpressionsMatching/Image/1.png -------------------------------------------------------------------------------- /RegularExpressionsMatching/Image/复杂度分析.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/RegularExpressionsMatching/Image/复杂度分析.png -------------------------------------------------------------------------------- /RegularExpressionsMatching/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/RegularExpressionsMatching/README.md -------------------------------------------------------------------------------- /RegularExpressionsMatching/RegularExpressionsMatching.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/RegularExpressionsMatching/RegularExpressionsMatching.cpp -------------------------------------------------------------------------------- /RegularExpressionsMatching/RegularExpressionsMatching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/RegularExpressionsMatching/RegularExpressionsMatching.py -------------------------------------------------------------------------------- /ReorderArray/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ReorderArray/README.md -------------------------------------------------------------------------------- /ReorderArray/ReorderArray.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ReorderArray/ReorderArray.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ReplaceSpaces/Images/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ReplaceSpaces/Images/1.jpg -------------------------------------------------------------------------------- /ReplaceSpaces/Images/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ReplaceSpaces/Images/2.jpg -------------------------------------------------------------------------------- /ReplaceSpaces/Images/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ReplaceSpaces/Images/3.jpg -------------------------------------------------------------------------------- /ReplaceSpaces/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ReplaceSpaces/README.md -------------------------------------------------------------------------------- /ReplaceSpaces/ReplaceSpaces.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ReplaceSpaces/ReplaceSpaces.cpp -------------------------------------------------------------------------------- /ReplaceSpaces/ReplaceSpaces.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ReverseList/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ReverseList/README.md -------------------------------------------------------------------------------- /ReverseList/ReverseList.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ReverseList/ReverseList.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ReverseWordsInSentence/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ReverseWordsInSentence/README.md -------------------------------------------------------------------------------- /ReverseWordsInSentence/ReverseWordsInSentence.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ReverseWordsInSentence/ReverseWordsInSentence.cpp -------------------------------------------------------------------------------- /ReverseWordsInSentence/ReverseWordsInSentence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/ReverseWordsInSentence/ReverseWordsInSentence.py -------------------------------------------------------------------------------- /RobotMove/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/RobotMove/README.md -------------------------------------------------------------------------------- /RobotMove/RobotMove.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/RobotMove/RobotMove.cpp -------------------------------------------------------------------------------- /RobotMove/RobotMove.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/RobotMove/RobotMove.py -------------------------------------------------------------------------------- /SerializeBinaryTrees/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/SerializeBinaryTrees/README.md -------------------------------------------------------------------------------- /SerializeBinaryTrees/SerializeBinaryTrees.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/SerializeBinaryTrees/SerializeBinaryTrees.cpp -------------------------------------------------------------------------------- /SerializeBinaryTrees/SerializeBinaryTrees.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/SerializeBinaryTrees/SerializeBinaryTrees.py -------------------------------------------------------------------------------- /Singleton/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/Singleton/README.md -------------------------------------------------------------------------------- /Sort/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/Sort/README.md -------------------------------------------------------------------------------- /Sort/img/sort_summary.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/Sort/img/sort_summary.jpg -------------------------------------------------------------------------------- /SortArrayForMinNumber/Images/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/SortArrayForMinNumber/Images/1.png -------------------------------------------------------------------------------- /SortArrayForMinNumber/Images/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/SortArrayForMinNumber/Images/2.png -------------------------------------------------------------------------------- /SortArrayForMinNumber/Images/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/SortArrayForMinNumber/Images/3.png -------------------------------------------------------------------------------- /SortArrayForMinNumber/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/SortArrayForMinNumber/README.md -------------------------------------------------------------------------------- /SortArrayForMinNumber/SortArrayForMinNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/SortArrayForMinNumber/SortArrayForMinNumber.cpp -------------------------------------------------------------------------------- /SortArrayForMinNumber/SortArrayForMinNumber.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /SquenceOfBST/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/SquenceOfBST/README.md -------------------------------------------------------------------------------- /SquenceOfBST/SquenceOfBST.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/SquenceOfBST/SquenceOfBST.cpp -------------------------------------------------------------------------------- /SquenceOfBST/SquenceOfBST.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/SquenceOfBST/SquenceOfBST.py -------------------------------------------------------------------------------- /StackPushPopOrder/Images/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StackPushPopOrder/Images/1.png -------------------------------------------------------------------------------- /StackPushPopOrder/Images/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StackPushPopOrder/Images/2.png -------------------------------------------------------------------------------- /StackPushPopOrder/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StackPushPopOrder/README.md -------------------------------------------------------------------------------- /StackPushPopOrder/StackPushPopOrder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StackPushPopOrder/StackPushPopOrder.cpp -------------------------------------------------------------------------------- /StackPushPopOrder/StackPushPopOrder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StackPushPopOrder/StackPushPopOrder.py -------------------------------------------------------------------------------- /StreamMedian/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StreamMedian/README.md -------------------------------------------------------------------------------- /StreamMedian/StreamMedian.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StreamMedian/StreamMedian.cpp -------------------------------------------------------------------------------- /StreamMedian/StreamMedian.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StreamMedian/StreamMedian.py -------------------------------------------------------------------------------- /StringPathInMatrix/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StringPathInMatrix/README.md -------------------------------------------------------------------------------- /StringPathInMatrix/StringPathInMatrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StringPathInMatrix/StringPathInMatrix.cpp -------------------------------------------------------------------------------- /StringPathInMatrix/StringPathInMatrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StringPathInMatrix/StringPathInMatrix.py -------------------------------------------------------------------------------- /StringPermutation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StringPermutation/README.md -------------------------------------------------------------------------------- /StringPermutation/StringPermutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StringPermutation/StringPermutation.cpp -------------------------------------------------------------------------------- /StringPermutation/StringPermutation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StringPermutation/StringPermutation.py -------------------------------------------------------------------------------- /StringToInt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StringToInt/README.md -------------------------------------------------------------------------------- /StringToInt/StringToInt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StringToInt/StringToInt.cpp -------------------------------------------------------------------------------- /StringToInt/StringToInt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/StringToInt/StringToInt.py -------------------------------------------------------------------------------- /SubstructureInTree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/SubstructureInTree/README.md -------------------------------------------------------------------------------- /SubstructureInTree/SubstructureInTree.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /SubstructureInTree/SubstructureInTree.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /SymmetricalBinaryTree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/SymmetricalBinaryTree/README.md -------------------------------------------------------------------------------- /SymmetricalBinaryTree/SymmetricalBinaryTree.cpp: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /SymmetricalBinaryTree/SymmetricalBinaryTree.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /TranslateNum/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/TranslateNum/1.jpg -------------------------------------------------------------------------------- /TranslateNum/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/TranslateNum/README.md -------------------------------------------------------------------------------- /TranslateNum/TranslateNum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/TranslateNum/TranslateNum.cpp -------------------------------------------------------------------------------- /TranslateNum/TranslateNum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/TranslateNum/TranslateNum.py -------------------------------------------------------------------------------- /TreeDepth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/TreeDepth/README.md -------------------------------------------------------------------------------- /TreeDepth/TreeDepth.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/TreeDepth/TreeDepth.cpp -------------------------------------------------------------------------------- /TreeDepth/TreeDepth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/TreeDepth/TreeDepth.py -------------------------------------------------------------------------------- /TwoNumbersWithSum/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/TwoNumbersWithSum/README.md -------------------------------------------------------------------------------- /TwoNumbersWithSum/TwoNumbersWithSum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/TwoNumbersWithSum/TwoNumbersWithSum.cpp -------------------------------------------------------------------------------- /TwoNumbersWithSum/TwoNumbersWithSum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/TwoNumbersWithSum/TwoNumbersWithSum.py -------------------------------------------------------------------------------- /UglyNumber/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/UglyNumber/README.md -------------------------------------------------------------------------------- /UglyNumber/UglyNumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/UglyNumber/UglyNumber.cpp -------------------------------------------------------------------------------- /UglyNumber/UglyNumber.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bryceustc/CodingInterviews/HEAD/UglyNumber/UglyNumber.py --------------------------------------------------------------------------------