Skip to content

barkdoll/100-algo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

100 Algorithms in TypeScript (ES6+ JavaScript) & Python

Derived from Dylan's 100 Algo Course.

I created this repository to demonstrate the following:

  • my competency in core development concepts regardless of the programming language
  • my ability to write in multiple programming languages and to translate between them with minimal effort

What makes my solutions different

  • I create two solutions for each challenge:
    • both a Typescript solution as the course intends
    • the equivalent solution in Python
  • I occasionally add extra features to increase the flexibility and/or feature set of an algorithm

Challenge checklist:

* Bolded solutions contain added flexibility/features, which are listed directly below it.

  • absoluteValuesSumMinization
  • add
  • addBorder
    • variable string lengths allowed
    • border is space-padded for a cleaner look
  • addTwoDigits
    • allows passing an arbitrary number of digits instead of two
    • can also accept a string of valid digits
  • adjacentElementsProduct
  • allLongestStrings
  • almostIncreasingSequence
  • alphabeticShift
  • alphabetSubSequence
  • alternatingSums
  • areEquallyStrong
  • areSimilar
  • arrayChange
  • arrayConversion
  • arrayMaxConsecutiveSum
  • arrayMaximalAdjacentDifference
  • arrayPreviousLess
  • arrayReplace
  • avoidObstacles
  • bishopAndPawn
  • boxBlur
  • candies
  • caseInsensitivePalimdrome
  • centuryFromYear
  • characterParity
  • checkPalindrome
  • chessBoardCellColor
  • chunkyMonkey
  • circleOfNumbers
  • commonCharacterCount
  • companyBotStrategy
  • compareIntegers
  • composeRanges
  • confirmEnding
  • containsCloseNums
  • containsDuplicates
  • convertCelsiusToFahrenheit
  • convertString
  • crossingSum
  • depositProfit
  • differentSymbolsNaive
  • digitDegree
  • domainType
  • electionWinners
  • encloseInBrackets
  • evenDigitsOnly
  • extractEachKth
  • extractMatrixColumn
  • factorializeANumber
  • fancyRide
  • fareEstimator
  • fermactor
  • findClosestPair
  • findEmailDomain
  • firstDigit
  • firstDuplicate
  • firstNotRepeatingCharacter
  • flattenArray
  • growingPlant
  • houseNumbersSum
  • houseOfCats
  • htmlEndTagByStartTag
  • incorrectPasswordAttempts
  • incrementalBackups
  • integerToStringOfWixedWidth
  • isLucky
  • isTandemRepeat
  • largestNumber
  • largestOfFour
  • lateRide
  • launchSequenceChecker
  • longestDigitsPrefix
  • makeArrayConsecutive2
  • matrixElementsSum
  • maxMultiple
  • mineSweeper
  • minimalNumberOfCoins
  • missingLetters
  • mostFrequentDigitSum
  • newNumeralSystem
  • pagesNumberingWithInk
  • palindromeRearranging
  • pigLatin
  • proCategorization
  • properNounCorrection
  • ratingThreshold
  • reflectString
  • reverseAString
  • seatsInTheater
  • seekAndDestroy
  • shapeArea
  • sortByHeight
  • sortByLength
  • squareDigitsSequence
  • stolenLunch
  • stringsConstruction
  • sumAllPrimes
  • sumOddFibonacciNums
  • sumOfTwo
  • switchLights
  • tasksType
  • uniqueDigitProducts
  • validTime

About

1 man, 2 languages, 100 algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published