题解 | #数组求和#
数组求和
http://www.nowcoder.com/practice/cc3ce199461c4c4cb8f63db61d7eba30
function sum(arr) {
return arr.reduce((a, b) => a+b)
}
数组求和
http://www.nowcoder.com/practice/cc3ce199461c4c4cb8f63db61d7eba30
function sum(arr) {
return arr.reduce((a, b) => a+b)
}
相关推荐
查看12道真题和解析
八股战士0offer:虽然但是,你想表达的应该是学习如何agent工程里的提示词工程,而不是训练或者微调模型,这基本上是两个不同的方向。我认为学习agent主要就两个东西:提示词工程和上下文工程。像你说的prompt caching这种优化怎么能想到,建议多读大模型供应商尤其是anthropic的博客,anthropic大概一年前就有很详细的博客讲最佳实践和实现了