CtCI-6th-Edition-JavaScript icon indicating copy to clipboard operation
CtCI-6th-Edition-JavaScript copied to clipboard

Cracking the Coding Interview 6th Ed. JavaScript Solutions

Results 50 CtCI-6th-Edition-JavaScript issues
Sort by recently updated
recently updated
newest added

Utilize new JS class constructor syntax for deckOfCards.js

It could be a typo but wrong solution. @profnandaa

The provided solution assumes that any computed compressed string "compressed" will be shorter than the provided string "string" only if the maximum count for every input is 1. This is...

// So we have two methods to one by creating extra space annd without creating extra space // with extra spaces let uniqueChars = (str) =>{ // creating a empty...

Add new URLify function

## Solution 1 - One line solution added as a more competitive choice. ## Solution 2 - Done with hashMap as a more optimized solution.

Removed unnecessary code bloat for brute force and top-down solutions