My answers to the Interview Questions of the rendezvous with cassidoo newsletter.
Each directory is related to a issue and has its own tests.
I started this in the issue #258!
Click to expand!
- 258 - find-intersection
- 259 - number-of-ones
- 260 - swap-pairs
- 261 - parenthesis-substring
- 264 - from-to
- 267 - ordinal
- 268 - fibonacci-like
- 269 - truncate
- 270 - number-of-passes
- 273 - antidivisor
- 274 - combine-strings
- 275 - vertical-slashes
- 278 - rectangle-sum
- 279 - rectangle-sum
- 280 - replace-zeros
- 281 - max-subarray
- 282 - sum-every-other
- 284 - missing-bits
- 285 - generate-arrays
- 286 - get-column-number
- 288 - num-balanced
- 289 - repeated-groups
- 290 - scramble
- 291 - fraction-math
- 293 - roll-dice
- 294 - source-character-count
- 295 - star-angle-sum
- 296 - max-points-on-line
- 298 - remove-zeroes
- 299 - odd-square-sum
- 300 - binary-palindrome
- 301 - scrabble-score
- 302 - one-row
- 303 - mmm-pie
- 304 - trim-array
- 305 - depth-json
- 306 - missing-letters
- 307 - reversed-squares
- 311 - is-anagram
- 313 - faulty-keyboard
- 315 - count-and-say
- 316 - min-subs
- 317 - separate-and-sort
- 318 - build-staircase
- 325 - score-word-game
- 328 - min-cost-for-calories
- 329 - rotated-num
- 330 - majority
- 331 - is-bitonic
- 332 - return-gift
- 333 - happy-new-year
- 334 - letters
- 335 - flip
- 337 - days-between
- 339 - from-to
- 340 - word-length-product
- 341 - remove-digit
- 346 - unique-sum
- 350 - translate-right-shit
- 352 - max-product
- 353 - fix-inverted-punctuation
Just pnpm install
to install all dependencies and then pnpm test
to run the tests!
Monorepo idea and base code blatantly stolen from Miguel Rios