stack operations, if executed on an initially empty stack? push(5), push(3), pop(), push(2), push(8), pop(), pop(), push(9), push(1), pop(), push(7), push(6), pop(), pop(), push(4), pop(), pop().
By Evan Raynor at Oct 10 2020
function find_max(nums) { 2 let max_num = Number.NEGATIVE_INFINITY; // smaller than all other numbers 3 for (let num of nums) { 4 if (num > max_num) { 5 // (Fill in the missing line here) 6 } 7 } 8 return max_num; 9 }
By Guillermo Goyette at Jun 21 2021
JS/meta редирект Ñо ÑклонÑющимиÑÑ Ñловами (5 Ñекунд, 2 Ñекунды, 1 Ñекунда...)
By Elated Elk at Apr 18 2022