I wrote same code as in answers, it passes test but fails on attempt (miscalculated sum). I wonder why.
Same than HEXecutive post , as not being replied at this moment , when I look at the alternative solutions , it seems to me that your tests consider C en m being only at first and last positions : not seen in the rules ?
8ky but norm
Why sole 'a' returns "Middle-Middle"? My understanding is that it should return "No Seat!!" or "Middle-Left"
Asking for PHP
.flat() and flatMap() doesn't work here.
This comment is hidden because it contains spoiler information about the solution
Thank you so much! Been cracking my brain about this far too long.
You gotta use natural log - LN
Instead of Log base - LOG
Sample tests for TypeScript are broken:
TSError: ⨯ Unable to compile TypeScript:
test.ts:1:22 - error TS6053: File '/runner/typings/mocha/index.d.ts' not found.
1 /// <reference path="/runner/typings/mocha/index.d.ts" />
test.ts:2:22 - error TS6053: File '/runner/typings/chai/index.d.ts' not found.
2 /// <reference path="/runner/typings/chai/index.d.ts" />
Why is this saying SQRT is not a function when it clearly is a function https://learnsql.com/cookbook/how-to-calculate-a-square-root-in-sql/. I am getting frustrated with SQL because I keep finding functions that I get from googling how to do things with SQL, and when I enter them in here, they never work. I don't get what I'm doing wrong.