Keep the first reservation for a seat
First assignment in a bounded seat register
std::map::try_emplace
Insert after map membership check
Map.putIfAbsent
MutableMap.getOrPut
dict.setdefault
Assign only a missing binding
Hash#key? before assignment