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.
why retire ? the description is relatively clear and the sample tests make it obvious what is required
duplicate of this issue
http://i63.tinypic.com/vwzsxl.pngthis image is not working anymoreIt introduces a little mess indeed.
He multiplays by 180 then divides by 18.
Why is that 18? We have 20 scores not 18.
180 / 18 = 10so why we have 10 here, but not 20"He divides angle by PI instead 2 * PI, which is whole angle.
10 * 2 === values.lengthPlay with this code here: https://instacode.app/run/FAYw9gdgzgLgBAcwKYwCIEMBOMBGYsAmAyuJknALxwAUAHgDRwCeAlJQHxwDewcc40eOggIANuSoBZdDAAWAOhnCATHUasA3L36RYcTOgIBLAK5RKcaXPmymABzAw1zFlr4C9whCTBkLX8Q5ubXddeChSJHMqAG0QvjhlAAZGAEY0gA5GABY0gGZGADY0lLhUgFZGZTSAdnp4vgKygE5GOrLiuCyy9LLcuFay6rhy+IBdNwSPeDsjZQsrBQAFAEk4ACpEydDBOCgjBZkFTDATCAJqagDyAGo4WeU2TYjfKPlxETk4AHp7ubYAKR7SJQd5IT6ybb6FAmTAQYGvKAxfYTbQAX0m030hmkdgscQScBiqWU8na1DYFE4AHJUAAhaljeqEmJ5VLyboUoLUogMpnxYnNbroIJeHxkK4sfks5SpfoiqlwAAGABUACRcMWRSVopXShKs5Ty0UicVISX6vis7KlBWcJWoDVa146vXMg0rCAAMyMECMMCYjDtcGpAA1Ge7UXwvb4aJgCHAwF7sQRcWweISjMnqAZjGYNok4Jx4zEkmM2AIYL6TEgoWQYLD4UqNSXUmMriJxCxdZM0cAMcBgMg0FhcPh42bqKlSs0kq4hygMNg8IRJwBacqlNd5OdaYdLser7VruXtDe74BAA
https://instacode.app/run/FAYw9gdgzgLgBAGzGA1gQQgEwOoCcCWMApnALxwRkB8cA3sHIkfOAK4QxRlwDaADABo4AJiGC44yWOkSxAXQDcDOADMwuOAAoEzOPm58FeuAB4KRgNQX8ASjrLG4aPBgBbAA7c2HKADooCPggRJo2SoyOYOycvq4Ahu6amiBCILbU9hER+CpaIGSk5Hx2uMysuBDhWXBu7jxpclZVWTy+bfkWcADkXXKxCZqYGbU8mI0WYQ5wAL6TWd6c3LVV08qlMOWUC36lmKzBSXFCAEZ2pDRxcJ2nStNKwEioGDgExJoAjJOP6Fh4hCEAZi+yB+L3+Hz4kMhk1AkFgcFgGnIXXe72E7wBqOEAFY0eiAV0lGoNNpdPoikZ9GZ3oYrtY7PRIs44PlyK02oi+ip8AhiLhBhkhoVyPpOj0bL4dBAAOYwAAWVScUDAOklYGlmnwqUmqyAA
You just posted a free copy of a working solution in JavaScript. But please always use the spoiler flag if revealing or discussing code, otherwise anyone can see it. Also, I'm not sure why you shared this anyway, for if someone wants to peruse solutions once they have actually solved it in JavaScript or whatever language, they can just go look at the solutions page.
So, I just added the spoiler flag to your comment.
https://instacode.app/run/FAMwrgdgxgLglgewgAgLYEMBeBTASpCbAJwAoMcAaZAEziO1kQgGcBKZAb2GWSiWZjIA2gAsqAdwC6yALzDy2AHQAbbBADmMMWizYhABkkq1mkZIDc3Xv0Eg4EagGUY6IvA0AFBM1nIS7GQA+TiseEAQiP1VBAE9ffXNkOIAeZBFEgGoMmPYuHnzkcMiSaOQAD3jEitTxTIyy3NCC5DgQPwUhGMkhMukZfuQAJnZ6GDAiFB6qLstm5ABfJsWeednrFkEADUqrPg3kAE1fAEY1vYFkAAdvXzsHZ1d3dS9mfzObGjpBvgjqXzz8gA5ABcwn0VAAtMdJBQmo5QQYqNDYQUAKII45UQwo-IAdQRUKxMKsqysRT8tEiCDalIY8H4jQK50EPyIfzklO+CF+QkpFia12YQk20gyclZ1GF-IKgqEB1F4u5bLl0vyrT8spFyFS+mQAB89VdvFLkIE5OIRtgxhNkAByAAi2HQ1Ftax46pIsvl2uQuoNRqF3rNaUt1pQDqdLrdLTaZF0Qi9km6mqTsgGx1D43DjudrqaHo6ieTxpFfQGAGZMzbbQAxexwZgiPMrKyjLN2gAy3hgecWwAAbq4dDhfEIhJiJxRJxPiXM5uOKOCl4uV+XZ3OCgvwZjtyvkU0N4jd8vt+uNzwt1O93uz+fLyebzjz8JMYMr8ep0noxvgAp8BBCFIBQKCEAAiQFQIocDIOgqCILgmDUUQ5CoKQ1DQMkVhEgAemw5BQLrCAGxEUDf10f9ALjSgwPg2C6No2i0NApjHBg1j0I4+jkMwnC8II+tG1Iv8CGIKjsBAriEKkuimNklDmJg3FFIwrDkFw-DCOI0iyJwCjROAmiYIY5SoKUni1L4nNqCE8iRKA3QJOM6SnIUzj2NA9zPLY7zzPU0CrO04SAP0hzDM4uT0N8viuwEQLbOC0ghCsJKCkxZA0oypEn3SrKct9JErHXFL8jS8tcvBHKmgq6qsQKngiqaNKKqa2qqtylr0sKnFip4DrMsq1Lytqzr6u6xrho68E2vymbmq65Lxpmvrsua4a5tGhbBqWiaVrWtb5ovRbVu26b+vW5AGq2mqToKa7ruOA7hEWs6sue3K3xGi7gBhYQ7UBW0qFtXEAbtYHAbB0HbQurCgA
This code is not working anymore:
Error: Cannot find module 'crypto-js/md5'Can someone remind me what was that service with funny, stupid code snippets?
This code looks like good pretendent for that.
Is it really best practice?
Storing all
1e5 * 32 hexadecimal charactersunnecessary hashes in memory.very minimalist but VERY bad at a performence level. avoid high level function call like reduce, map, spead etc.
not the best but let us just solve the question bruh 🥀🥀
Knowing Maths really can help with improving your code performance! 🤯
Loading more items...