An Interest In:
Web News this Week
- March 21, 2024
- March 20, 2024
- March 19, 2024
- March 18, 2024
- March 17, 2024
- March 16, 2024
- March 15, 2024
August 22, 2022 05:22 pm GMT
Original Link: https://dev.to/zeeshanali0704/mars-exploration--15el
Mars Exploration -
function marsExploration(s) { let actualStr = "SOS"; let misMatchCount = 0; let j = 0; let k = 0; let emptyArray = []; let n = []; while (j < s.length) { if (s[j] !== actualStr[k]) { misMatchCount++; } j++; k++; if (k > 2) { k = 0; } } return misMatchCount;}
Original Link: https://dev.to/zeeshanali0704/mars-exploration--15el
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To