It's not impossible to solve those types of problems if you prepare ahead of time. I think that problem just requires dynamic programming/memoization, which is one of the things you're told to study beforehand.
I thought the fact that messages and photos are kept was a feature. As in, I can scroll back a decade in my photo albums and look at pictures from my high school graduation.
The difference is most people snorkeling for the first time do it with an instructor who is very much interested in their well-being. I don't think the guy who sells you LSD is gonna lose sleep if you happen to develop a lifelong mental condition.
I think it's a bit misleading to simply say "LSD is great and you should try it". It can be interesting, but also can be scary as fuck, and you should be in a good place mentally before trying it.
Sounds like it was based on the "terrorist"-ness of his name, i.e. whether the name is on a watchlist, which (rightfully or wrongfully, in the West) correlates with "Muslimness".
I dunno, I slept in my office in grad school. It wasn't out of needing to feel like a hard worker or showing off or whatever, it was more that sometimes I just felt like working until I was about to fall asleep, and then I was too tired to head home.
I mean, if you wanted to be sure you wouldn't get caught with your mistress, you basically would have to wear a bag on your head, no? Or at least her meet her indoors. You certainly wouldn't complain about invasion of privacy when your wife's friend sees you with the mistress on a date.