Timeline for The shortest way to find one unique value when all other values are the same
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 29, 2020 at 13:55 | history | edited | Kaddath | CC BY-SA 4.0 |
added 264 characters in body
|
Jul 29, 2020 at 13:53 | comment | added | Kaddath |
@640KB nice one! I actually didn't know about array_flip , makes sense!
|
|
Jul 29, 2020 at 13:27 | comment | added | 640KB |
Yes, darn those long and redundant function names. Turns out it's 45 bytes if you use array_flip() instead of array_search() though!
|
|
Jul 29, 2020 at 7:04 | history | answered | Kaddath | CC BY-SA 4.0 |