Available question text
Given two arrays — one of keys and one of values — construct an object/dictionary that maps each keys[i] to values[i], paying attention to handling mismatched lengths or duplicate keys as specified.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2794. Create Object from Two Arrays
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source