although it can be deduced, it should be mentioned that this is the minimum path to reach the bottom right. It is important, since we are provided with a target point and it is not always the bottom right.
if the condition of ternary operator isn't Boolean type, maybe JS convert the condition to Boolean type first,and 0 to Boolean type is false, other number is true.
OCaml translation
Function name typo
Function names misspelled in both.
although it can be deduced, it should be mentioned that this is the minimum path to reach the bottom right. It is important, since we are provided with a target point and it is not always the bottom right.
if n%2 is 0 it becomes false means it will use 8, and anything other than 0 is true.
if the condition of ternary operator isn't Boolean type, maybe JS convert the condition to Boolean type first,and 0 to Boolean type is false, other number is true.
Can someone tell me why he is not comparing to zero?
I mean, I really love this solution but i dont get it at all
description should be language-agnostic.
python new test framewprks
fds?
Its Great solution.
bedalah itu lebih sederhana 0 berarti false dan angka selain nol adalah true, itu gak kepikiran bagi sebagian orang
Really funny kata on dynamic programming and algorithms optimization.
podo ae || same
Loading more items...