Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
They chat gpt'd it, that is where the map is coming from XD
nope,
it's a tricky tradition here => write less as you can
we need just imagine how it's on production
answer
only until you try to put that in TypeScript — https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABACxgc2QQTAEwDJwDuAFGCALYBGApgE4DOAXIvVLTGGgJQDeAUIkQAbalEQBDWrUQBeRGSp16AOnoAHITCjEA5Ih1dEAeiPLy4tcQByFGrS4BuQQMS1RIWkgCy4qMjPiAB7EyqGS9ogA1Pox0T5+ZhwhYVKOfAC+QA — if you want to find a job, very likely it will be of writing TS, not JS
Is it considered a bad practice to write functions without declaring them or is this fine?
This comment is hidden because it contains spoiler information about the solution
Fixed
Typos corrected
Finally found someone else who decided to use "> 54" instead of ">= 55"! I find it to be a more elegant solution.
Thanks.
Note that returning any positive number from the comparison function is the same as returning
1
, so you can shorten it toa - b
. Also,slice()
can use negative indices soages.length - 2
is equivalent to-2
, and end defaults to the length of the array, soages.length
is redundant."Write a function changeTime which increase or decrease given time. Input param is string in HH:MM format and delta is integere value -1 or 1. Let see some examples:"
pakeisk į
"Write a function changeTime which increases or decreases given time. Input param is string in HH:MM format and delta is integer value -1 or 1 in minutes. Let see some examples:"
Thanks
Missed r on Resouces;
Wrong resource link on Resources (should be Adapter, not strategy).
Please correct word grammar, like "exisit" and "srting".