if(sum(as.numeric(unlist(a[i]))[3:5]) %% 3 == 0) if(as.numeric(unlist(a[i]))[6] %% 5 == 0) if((as.numeric(paste(as.numeric(unlist(a[i]))[5:6], collapse = ""))-2*as ...
# Given an integer array flowerbed containing 0's and 1's, where 0 means empty and 1 means not empty, and an integer n, return true if n new flowers can be planted in the flowerbed without violating ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results