KRONOS_麒點科技有限公司

Senior/Staff Data Engineer

視訊面試 · 2023.08.04 分享
2023.07
面試時間
4 /5
面試評價
未錄取
面試結果
普通
面試難度
面試過程
第一關HR先phon...
面試問題
1. Max even sum of a subsequence of length K Given an array of integers A and an integer K, find a subsequence of length K that maximize the sum, which must be even. Return the sum, or -1 if no even sum can be made. Examples: A = [4,2,6,7,8], K = 3, the algorithm should return 18 as 4 + 6 + 8 = 18 A = [5, 5, 2, 4, 3], K = 3, the algorithm should return 14 as 5 + 5 + 4 = 14 感覺是一套貪心題
感覺是一套貪心題
0
分享

App 下載

面試趣排行榜
最新職缺
廣告
  • JMG SPACE 服飾 正職 門市人員 無經驗可
    傑盈企業社
    30k
    /月薪
  • 行政助理人員
    躍皇有限公司
    32 - 38k
    /月薪
  • (樹林)超商理貨員-早班-時薪190-220$ (可日領.免經驗)
    宗信人力資源有限公司
    200
    /時薪
  • 會計行政
    兆量富足教育協會
    30 - 36k
    /月薪