Revision History


erge: ae36caf 6b0f754
Date: Fri May 20 04:05:28 2022 +0000

Merge branch 'blah' into 'main'

change timer href

See merge request tech-interviews/codeinterviews!4


Date: Thu May 19 21:04:21 2022 -0700

change timer href

index-gen.py


erge: 00625ef 85c59fb
Date: Fri May 20 04:02:24 2022 +0000

Merge branch 'blah' into 'main'

change path

See merge request tech-interviews/codeinterviews!3


Date: Thu May 19 21:01:40 2022 -0700

change path

generator.py


erge: d8425ae 74699db
Date: Fri May 20 03:56:46 2022 +0000

Merge branch '54-surface-profiler-results' into 'main'

Add CSV

Closes #54

See merge request tech-interviews/codeinterviews!2


Date: Thu May 19 20:55:36 2022 -0700

Add CSV

generator.py
index-gen.py


Date: Thu May 19 20:24:43 2022 -0700

Maximum subarray #4

src/MainTest.java
src/blindCuratedList/array/MaximumSubarray.java
src/blindCuratedList/array/README.md
workspace.code-workspace


Date: Tue Apr 5 21:13:39 2022 -0700

add revision history

.gitlab-ci.yml
index-gen.py
revision_history.py


Date: Sun Apr 3 20:40:58 2022 -0700

Solution #6

src/grokkingCodingPatternsEducative/slidingWindow/LongestSubstringAfterReplacement.java
src/grokkingCodingPatternsEducative/slidingWindow/README.md


Date: Sun Apr 3 19:55:06 2022 -0700

update gitignore

.gitignore


Date: Sun Mar 20 13:15:29 2022 -0700

Change links

src/misc/README.md


Date: Sun Mar 20 13:10:54 2022 -0700

Given two rectangles, find the regions covered by the union and subtraction of the two rectangles

src/MainTest.java
src/misc/README.md
src/misc/Rectangle.java
src/misc/static/intersect.jpg
src/misc/static/subtract-1.jpg
src/misc/static/subtract-2.JPG


Date: Sun Feb 13 10:35:11 2022 -0800

Subtree of Another Tree

src/MainTest.java
src/blindCuratedList/tree/README.md
src/blindCuratedList/tree/Subtree.java
src/common/BinaryTreeNode.java
workspace.code-workspace


Date: Sat Feb 12 13:14:35 2022 -0800

Add src to a path

index-gen.py


Date: Sat Feb 12 13:12:04 2022 -0800

Added text

index-gen.py


Date: Sat Feb 12 13:08:13 2022 -0800

Removed src from index path

index-gen.py


Date: Sat Feb 12 13:02:32 2022 -0800

Beautify code window

generator.py
initializer.py
style-code.css
style.css


Date: Sat Feb 12 12:54:43 2022 -0800

Use same stylesheet for code files

generator.py


Date: Sat Feb 12 12:49:22 2022 -0800

Add linenums class

generator.py


Date: Sat Feb 12 12:45:29 2022 -0800

Add line numbers

generator.py


Date: Sat Feb 12 12:41:07 2022 -0800

Serialize and Deserialize Binary Tree

src/MainTest.java
src/blindCuratedList/tree/README.md
src/blindCuratedList/tree/SerializeDeserialize.java


Date: Sat Feb 12 11:15:22 2022 -0800

Fix indent

src/blindCuratedList/matrix/README.md


Date: Sat Feb 12 11:10:14 2022 -0800

Spiral Matrix

src/MainTest.java
src/blindCuratedList/matrix/README.md
src/blindCuratedList/matrix/SpiralMatrix.java


Date: Thu Feb 10 20:11:58 2022 -0800

Link implmenetation

src/blindCuratedList/matrix/README.md


Date: Thu Feb 10 20:06:40 2022 -0800

Word Search

src/MainTest.java
src/blindCuratedList/matrix/README.md
src/blindCuratedList/matrix/WordSearch.java


Date: Wed Feb 9 21:02:59 2022 -0800

Change image

.gitlab-ci.yml


Date: Wed Feb 9 20:58:48 2022 -0800

Set Matrix Zeroes

src/MainTest.java
src/blindCuratedList/README.md
src/blindCuratedList/array/README.md
src/blindCuratedList/matrix/README.md
src/blindCuratedList/matrix/SetMatrixZeroes.java


Date: Wed Feb 9 20:07:53 2022 -0800

Product of Array Except Self

src/MainTest.java
src/blindCuratedList/array/ProdOfArray.java
src/blindCuratedList/array/README.md


Date: Tue Feb 8 20:22:05 2022 -0800

Contains Duplicate

src/MainTest.java
src/blindCuratedList/array/ContainsDuplicate.java
src/blindCuratedList/array/README.md


Date: Tue Feb 8 20:05:24 2022 -0800

Best Time to Buy and Sell Stock

src/MainTest.java
src/blindCuratedList/array/README.md
src/blindCuratedList/array/Stocks.java


Date: Tue Feb 8 19:12:36 2022 -0800

Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order

src/MainTest.java
src/blindCuratedList/array/README.md
src/blindCuratedList/array/TwoSum.java


Date: Tue Feb 8 18:51:35 2022 -0800

Add encoding UTF-8 to generator

generator.py


Date: Tue Feb 8 18:46:23 2022 -0800

Add copy

generator.py


Date: Tue Feb 8 18:41:29 2022 -0800

Copy png and jpg files as well

generator.py


Date: Sun Feb 6 11:36:30 2022 -0800

Minor changes

index-gen.py
src/basics/tree_graph_traversals/README.md
src/basics/trie/README.md
src/grokkingCodingPatternsEducative/bfs/README.md
src/grokkingCodingPatternsEducative/bitwiseXor/README.md
src/grokkingCodingPatternsEducative/dfs/README.md
src/grokkingCodingPatternsEducative/fastSlowPointer/README.md
src/grokkingCodingPatternsEducative/kWayMerge/README.md
src/grokkingCodingPatternsEducative/linkedListReversal/README.md
src/grokkingCodingPatternsEducative/modifiedBinarySearch/README.md
src/grokkingCodingPatternsEducative/slidingWindow/README.md
src/grokkingCodingPatternsEducative/subsets/README.md
src/grokkingCodingPatternsEducative/topKElements/README.md
src/grokkingCodingPatternsEducative/twoheaps/README.md
src/grokkingCodingPatternsEducative/twopointers/README.md
src/leetcode/backtracking/README.md
src/leetcode/maps/easy/README.md
src/leetcode/stacks/easy/README.md
src/misc/README.md


Date: Sun Feb 6 11:14:35 2022 -0800

Add README for common datastructures

src/common/README.md


Date: Sun Feb 6 11:09:06 2022 -0800

Add description

index-gen.py


Date: Sun Feb 6 10:59:00 2022 -0800

Add code link

src/misc/README.md


Date: Sun Feb 6 10:57:47 2022 -0800

Add Return to Index to code files

generator.py


Date: Sun Feb 6 10:50:24 2022 -0800

Fix typo

.gitlab-ci.yml


erge: 7e5a6a0 840a89a
Date: Sun Feb 6 18:49:07 2022 +0000

Merge branch 'website_publish' into 'main'

Website publish

See merge request tech-interviews/codeinterviews!1


Date: Sun Feb 6 10:48:07 2022 -0800

Updated gitlab-ci

.gitlab-ci.yml


Date: Sun Feb 6 10:38:29 2022 -0800

Add java files to generator

generator.py


Date: Sun Feb 6 10:33:44 2022 -0800

Added [TOC]

index-gen.py
src/basics/tree_graph_traversals/README.md
src/basics/trie/README.md
src/grokkingCodingPatternsEducative/bfs/README.md
src/grokkingCodingPatternsEducative/bitwiseXor/README.md
src/grokkingCodingPatternsEducative/fastSlowPointer/README.md
src/grokkingCodingPatternsEducative/kWayMerge/README.md
src/grokkingCodingPatternsEducative/linkedListReversal/README.md
src/grokkingCodingPatternsEducative/modifiedBinarySearch/README.md
src/grokkingCodingPatternsEducative/slidingWindow/README.md
src/grokkingCodingPatternsEducative/subsets/README.md
src/grokkingCodingPatternsEducative/topKElements/README.md
src/grokkingCodingPatternsEducative/twoheaps/README.md
src/leetcode/backtracking/README.md
src/leetcode/maps/easy/README.md
src/leetcode/stacks/easy/README.md
src/misc/README.md


Date: Sun Feb 6 10:28:26 2022 -0800

New TOC

.gitignore
generator.py
index-gen.py
D public/index.html
D public/src/basics/tree_graph_traversals/README.md.html
D public/src/basics/trie/README.md.html
D public/src/grokkingCodingPatternsEducative/bfs/README.md.html
D public/src/grokkingCodingPatternsEducative/bitwiseXor/README.md.html
D public/src/grokkingCodingPatternsEducative/dfs/README.md.html
D public/src/grokkingCodingPatternsEducative/fastSlowPointer/README.md.html
D public/src/grokkingCodingPatternsEducative/kWayMerge/README.md.html
D public/src/grokkingCodingPatternsEducative/linkedListReversal/README.md.html
D public/src/grokkingCodingPatternsEducative/modifiedBinarySearch/README.md.html
D public/src/grokkingCodingPatternsEducative/slidingWindow/README.md.html
D public/src/grokkingCodingPatternsEducative/subsets/README.md.html
D public/src/grokkingCodingPatternsEducative/topKElements/README.md.html
D public/src/grokkingCodingPatternsEducative/twoheaps/README.md.html
D public/src/grokkingCodingPatternsEducative/twopointers/README.md.html
D public/src/leetcode/README.md.html
D public/src/leetcode/backtracking/README.md.html
D public/src/leetcode/maps/README.md.html
D public/src/leetcode/maps/easy/README.md.html
D public/src/leetcode/stacks/README.md.html
D public/src/leetcode/stacks/easy/README.md.html
D public/src/misc/README.md.html
D public/style.css
src/grokkingCodingPatternsEducative/dfs/README.md


Date: Sun Feb 6 10:16:21 2022 -0800

README gen

.gitlab-ci.yml
generator.py
index-gen.py
initializer.py
public/index.html
public/src/basics/tree_graph_traversals/README.md.html
public/src/basics/trie/README.md.html
public/src/grokkingCodingPatternsEducative/bfs/README.md.html
public/src/grokkingCodingPatternsEducative/bitwiseXor/README.md.html
public/src/grokkingCodingPatternsEducative/dfs/README.md.html
public/src/grokkingCodingPatternsEducative/fastSlowPointer/README.md.html
public/src/grokkingCodingPatternsEducative/kWayMerge/README.md.html
public/src/grokkingCodingPatternsEducative/linkedListReversal/README.md.html
public/src/grokkingCodingPatternsEducative/modifiedBinarySearch/README.md.html
public/src/grokkingCodingPatternsEducative/slidingWindow/README.md.html
public/src/grokkingCodingPatternsEducative/subsets/README.md.html
public/src/grokkingCodingPatternsEducative/topKElements/README.md.html
public/src/grokkingCodingPatternsEducative/twoheaps/README.md.html
public/src/grokkingCodingPatternsEducative/twopointers/README.md.html
public/src/leetcode/README.md.html
public/src/leetcode/backtracking/README.md.html
public/src/leetcode/maps/README.md.html
public/src/leetcode/maps/easy/README.md.html
public/src/leetcode/stacks/README.md.html
public/src/leetcode/stacks/easy/README.md.html
public/src/misc/README.md.html
public/style.css
style.css


Date: Sat Feb 5 22:24:43 2022 -0800

Add explanation

src/MainTest.java
src/misc/FileHierarchy.java
src/misc/README.md


Date: Sat Feb 5 22:19:23 2022 -0800

Given a list of file paths, print the file hierarchy

src/MainTest.java
src/basics/tree_graph_traversals/DfsTraversals.java
src/basics/tree_graph_traversals/README.md
src/basics/trie/README.md
src/basics/trie/Trie.java
src/common/TrieNode.java
src/grokkingCodingPatternsEducative/dfs/README.md
src/misc/FileHierarchy.java
src/misc/README.md


Date: Wed Feb 2 20:34:13 2022 -0800

change to link

src/grokkingCodingPatternsEducative/linkedListReversal/README.md


Date: Wed Feb 2 20:33:08 2022 -0800

Add mkdown

src/grokkingCodingPatternsEducative/linkedListReversal/README.md


Date: Wed Feb 2 20:31:28 2022 -0800

Given the head of a Singly LinkedList, reverse the LinkedList. Write a function to return the new head of the reversed LinkedList

src/MainTest.java
src/common/PrinterUtils.java
src/grokkingCodingPatternsEducative/linkedListReversal/README.md
src/grokkingCodingPatternsEducative/linkedListReversal/ReverseInPlace.java
src/grokkingCodingPatternsEducative/linkedListReversal/static/linkedlist_inplace_reversal.mp4


Date: Thu Jan 27 21:09:13 2022 -0800

4Sum Variant: Given four lists A, B, C, D of integer values, compute how many tuples (i, j, k, l) there are such that

src/MainTest.java
src/misc/PairTuples.java
src/misc/README.md


Date: Thu Jan 27 20:42:47 2022 -0800

4Sum: Given an array nums of n integers and an integer target, find all unique quadruplets in the array which gives the sum of targety

src/MainTest.java
src/misc/README.md
src/misc/UniqueQuadruplets.java


Date: Thu Jan 27 19:46:55 2022 -0800

3Sum: Given an array nums of n integers, find all unique triplets in the array which gives the sum of zero

src/MainTest.java
src/misc/README.md
src/misc/UniqueTriplets.java


Date: Wed Jan 26 20:03:37 2022 -0800

2Sum Variant: Find how many unique pairs in the array such that their sum is equal to a specific target number.

src/MainTest.java
src/misc/README.md
src/misc/UniquePairs.java


Date: Wed Jan 26 19:33:13 2022 -0800

2Sum Variant: Find the sum of the two integers such that the sum is closest to target

D Dockerfile
D bitbucket-pipelines.yml
src/MainTest.java
src/misc/ClosestSumToTarget.java
src/misc/README.md


Date: Wed Jan 26 19:10:14 2022 -0800

2Sum Variant: Find how many pairs in the array such that their sum is less than or equal to a specific target number

src/MainTest.java
src/misc/README.md
src/misc/TwoSumPairs.java


Date: Wed Jan 26 18:50:41 2022 -0800

2Sum Follow up: What if the input array is sorted?

.gitignore
.gitlab-ci.yml
.vscode/settings.json
Dockerfile
README.md
bitbucket-pipelines.yml
lib/hamcrest-core-1.3.jar
lib/javafx.base.jar
lib/junit-4.13.2.jar
src/MainTest.java
src/common/BinaryTreeNode.java
src/common/ListNode.java
src/common/Pair.java
src/common/Point.java
src/common/PrinterUtils.java
src/common/Profiler.java
src/common/ProfilerLogger.java
src/grokkingCodingPatternsEducative/bfs/ConnectAllLevelOrderSiblings.java
src/grokkingCodingPatternsEducative/bfs/ConnectLevelOrderSiblings.java
src/grokkingCodingPatternsEducative/bfs/LevelAverages.java
src/grokkingCodingPatternsEducative/bfs/LevelOrderSuccessor.java
src/grokkingCodingPatternsEducative/bfs/LevelOrderTraversal.java
src/grokkingCodingPatternsEducative/bfs/MinDepth.java
src/grokkingCodingPatternsEducative/bfs/README.md
src/grokkingCodingPatternsEducative/bfs/ReverseLevelOrderTraversal.java
src/grokkingCodingPatternsEducative/bfs/RightView.java
src/grokkingCodingPatternsEducative/bfs/ZigZagTraversal.java
src/grokkingCodingPatternsEducative/bfs/static/bfs1.png
src/grokkingCodingPatternsEducative/bfs/static/bfs10.png
src/grokkingCodingPatternsEducative/bfs/static/bfs11.png
src/grokkingCodingPatternsEducative/bfs/static/bfs2.png
src/grokkingCodingPatternsEducative/bfs/static/bfs3.png
src/grokkingCodingPatternsEducative/bfs/static/bfs4.png
src/grokkingCodingPatternsEducative/bfs/static/bfs5.png
src/grokkingCodingPatternsEducative/bfs/static/bfs6.png
src/grokkingCodingPatternsEducative/bfs/static/bfs7.png
src/grokkingCodingPatternsEducative/bfs/static/bfs8.png
src/grokkingCodingPatternsEducative/bfs/static/bfs9.png
src/grokkingCodingPatternsEducative/bfs/static/level_cnt.png
src/grokkingCodingPatternsEducative/bitwiseXor/ComplementOfBase10.java
src/grokkingCodingPatternsEducative/bitwiseXor/FindMissingNumber.java
src/grokkingCodingPatternsEducative/bitwiseXor/README.md
src/grokkingCodingPatternsEducative/bitwiseXor/SingleNumber.java
src/grokkingCodingPatternsEducative/bitwiseXor/TwoSingleNumbers.java
src/grokkingCodingPatternsEducative/dfs/AllPathsForASum.java
src/grokkingCodingPatternsEducative/dfs/AllRootToLeafNodes.java
src/grokkingCodingPatternsEducative/dfs/BinaryTreePathSum.java
src/grokkingCodingPatternsEducative/dfs/CountPathsForSum.java
src/grokkingCodingPatternsEducative/dfs/PathWithGivenSequence.java
src/grokkingCodingPatternsEducative/dfs/PathWithMaxSum.java
src/grokkingCodingPatternsEducative/dfs/README.md
src/grokkingCodingPatternsEducative/dfs/SumOfPathNumbers.java
src/grokkingCodingPatternsEducative/dfs/TreeDiameter.java
src/grokkingCodingPatternsEducative/dfs/static/dfs1.png
src/grokkingCodingPatternsEducative/dfs/static/dfs2.png
src/grokkingCodingPatternsEducative/dfs/static/dfs3.png
src/grokkingCodingPatternsEducative/dfs/static/dfs4.png
src/grokkingCodingPatternsEducative/dfs/static/dfs5.png
src/grokkingCodingPatternsEducative/dfs/static/dfs6.png
src/grokkingCodingPatternsEducative/dfs/static/dfs7.png
src/grokkingCodingPatternsEducative/dfs/static/why_backtrack.png
src/grokkingCodingPatternsEducative/fastSlowPointer/HappyNumber.java
src/grokkingCodingPatternsEducative/fastSlowPointer/LengthOfCycle.java
src/grokkingCodingPatternsEducative/fastSlowPointer/LinkedListCycle.java
src/grokkingCodingPatternsEducative/fastSlowPointer/LinkedListMiddle.java
src/grokkingCodingPatternsEducative/fastSlowPointer/LinkedListStart.java
src/grokkingCodingPatternsEducative/fastSlowPointer/README.md
src/grokkingCodingPatternsEducative/fastSlowPointer/static/IMG_0179.jpg
src/grokkingCodingPatternsEducative/fastSlowPointer/static/start.png
src/grokkingCodingPatternsEducative/kWayMerge/KthSmallestMatrix.java
src/grokkingCodingPatternsEducative/kWayMerge/KthSmallestNumber.java
src/grokkingCodingPatternsEducative/kWayMerge/LargestSumPair.java
src/grokkingCodingPatternsEducative/kWayMerge/MergeKSortedLists.java
src/grokkingCodingPatternsEducative/kWayMerge/README.md
src/grokkingCodingPatternsEducative/kWayMerge/SmallestRange.java
src/grokkingCodingPatternsEducative/modifiedBinarySearch/ArrayReader.java
src/grokkingCodingPatternsEducative/modifiedBinarySearch/BitonicArrayMax.java
src/grokkingCodingPatternsEducative/modifiedBinarySearch/CeilingOfNumber.java
src/grokkingCodingPatternsEducative/modifiedBinarySearch/MinDiffElement.java
src/grokkingCodingPatternsEducative/modifiedBinarySearch/NextLetter.java
src/grokkingCodingPatternsEducative/modifiedBinarySearch/OrderAgnosticBinarySearch.java
src/grokkingCodingPatternsEducative/modifiedBinarySearch/README.md
src/grokkingCodingPatternsEducative/modifiedBinarySearch/RotationCount.java
src/grokkingCodingPatternsEducative/modifiedBinarySearch/SearchBitonicArray.java
src/grokkingCodingPatternsEducative/modifiedBinarySearch/SearchRotatedArray.java
src/grokkingCodingPatternsEducative/modifiedBinarySearch/SearchSortedInfiniteArray.java
src/grokkingCodingPatternsEducative/modifiedBinarySearch/static/s1.png
src/grokkingCodingPatternsEducative/modifiedBinarySearch/static/s2.png
src/grokkingCodingPatternsEducative/slidingWindow/FruitsIntoBaskets.java
src/grokkingCodingPatternsEducative/slidingWindow/LongestSubstring.java
src/grokkingCodingPatternsEducative/slidingWindow/LongestSubstringWithDistinctChars.java
src/grokkingCodingPatternsEducative/slidingWindow/MaxSumSubArrayOfSizeK.java
src/grokkingCodingPatternsEducative/slidingWindow/README.md
src/grokkingCodingPatternsEducative/slidingWindow/SmallestSubArrayWithSum.java
src/grokkingCodingPatternsEducative/subsets/DuplicateSubsets.java
src/grokkingCodingPatternsEducative/subsets/PermutationsIterative.java
src/grokkingCodingPatternsEducative/subsets/README.md
src/grokkingCodingPatternsEducative/subsets/Subsets.java
src/grokkingCodingPatternsEducative/topKElements/ConnectRopes.java
src/grokkingCodingPatternsEducative/topKElements/FrequencySequence.java
src/grokkingCodingPatternsEducative/topKElements/FrequencyStack.java
src/grokkingCodingPatternsEducative/topKElements/KClosestNumbers.java
src/grokkingCodingPatternsEducative/topKElements/KClosestPointsToOrigin.java
src/grokkingCodingPatternsEducative/topKElements/KLargestElements.java
src/grokkingCodingPatternsEducative/topKElements/KthSmallestNumber.java
src/grokkingCodingPatternsEducative/topKElements/MaxDistinctElements.java
src/grokkingCodingPatternsEducative/topKElements/README.md
src/grokkingCodingPatternsEducative/topKElements/RearrangeStringKDistApart.java
src/grokkingCodingPatternsEducative/topKElements/RearrangeStrings.java
src/grokkingCodingPatternsEducative/topKElements/SchedulingTasks.java
src/grokkingCodingPatternsEducative/topKElements/StringSort.java
src/grokkingCodingPatternsEducative/topKElements/SumOfElements.java
src/grokkingCodingPatternsEducative/topKElements/TopKFrequentNumbers.java
src/grokkingCodingPatternsEducative/twoheaps/MedianOfNumberStream.java
src/grokkingCodingPatternsEducative/twoheaps/README.md
src/grokkingCodingPatternsEducative/twopointers/CompareStringsWithBackspaces.java
src/grokkingCodingPatternsEducative/twopointers/DutchNationalFlag.java
src/grokkingCodingPatternsEducative/twopointers/MinWindowSort.java
src/grokkingCodingPatternsEducative/twopointers/PairWithTargetSum.java
src/grokkingCodingPatternsEducative/twopointers/README.md
src/grokkingCodingPatternsEducative/twopointers/RemoveDuplicates.java
src/grokkingCodingPatternsEducative/twopointers/SquareSortedArray.java
src/grokkingCodingPatternsEducative/twopointers/SubArraysWithProductLessThanTarget.java
src/grokkingCodingPatternsEducative/twopointers/TripletSumCloseToTarget.java
src/grokkingCodingPatternsEducative/twopointers/TripletSumToZero.java
src/grokkingCodingPatternsEducative/twopointers/TripletsWithSmallerSum.java
src/leetcode/README.md
src/leetcode/backtracking/GenerateParens.java
src/leetcode/backtracking/PhoneNumberLetterCombinations.java
src/leetcode/backtracking/README.md
src/leetcode/backtracking/WordSearch.java
src/leetcode/backtracking/static/200px-Telephone-keypad2.svg.png
src/leetcode/backtracking/static/phone_combinations.png
src/leetcode/backtracking/static/word-1.jpg
src/leetcode/backtracking/static/word2.jpg
src/leetcode/backtracking/static/word3.jpg
src/leetcode/maps/README.md
src/leetcode/maps/easy/README.md
src/leetcode/maps/easy/TwoSum.java
src/leetcode/stacks/README.md
src/leetcode/stacks/easy/README.md
src/leetcode/stacks/easy/ValidParens.java
src/misc/README.md
src/misc/TwoSum.java