You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Obliviously update an element of a list if it exists.
Description
Similarly to our linear scan example that checks whether a specific value old_value is present in a list, we now want to update the value to a new_value (if it exists).
For example in a list of SecretIntegers [1, 2, 3, 4, 5], old_value = 2, and old_value = 6, the list will become [1, 6, 3, 4, 5].
The text was updated successfully, but these errors were encountered:
Request a New Nada Example
Obliviously update an element of a list if it exists.
Description
Similarly to our linear scan example that checks whether a specific value
old_value
is present in a list, we now want to update the value to anew_value
(if it exists).For example in a list of
SecretInteger
s[1, 2, 3, 4, 5]
,old_value = 2
, andold_value = 6
, the list will become[1, 6, 3, 4, 5]
.The text was updated successfully, but these errors were encountered: