While I'm starting with the very easy problems from LeetCode, and therefore I do not expect to be teaching you something, you could still enjoy watching them and, more importantly, you might be able to contribute with nice ideas, alternative solutions, etc.
So feel free to interact in the comments and/or PR alternative solutions to the linked repository. ○/
That's the thing, those 3 private videos have reveals scheduled, without the extra fluff that the YT Premiere option adds.
Ok, the private videos should be gone from the playlist by now.
@Razetime do you use an old browser or something like that? I'm reading about a feature that was removed from YT not very long ago and I was reading the support forums. Supposedly, you shouldn't be seeing those boxes saying "private video".
@Razetime nevermind, it is something you can toggle on your end. If you click the ... next to the "share playlist" button (both buttons are to the left of the video listing you showed) you can show/hide private videos. But it still looks bad, so I just removed the private videos from the playlist.
how to create a mask 0 1 1 0 from a string '<ab>' I tried '<ab>' /= '<' v '>' it does not work.. .. how to use logic or. 'v' to connect '<' and '>' ? so that I can have mask 0 1 1 0 ?
this is where I was trying to get, I think: ((≠∘'<')∧(≠∘'>')) '<ab>' "characters which are not left bracket and characters which are not right bracket", two masks combined
which is then more direct as Dzaima's original "characters which are not in (left bracket, right bracket)"
theoretically point of view. regex is can ONLY solve "regular language" which is regular expression, bracket balancing is BNF so regex can NOT solve them
So this is an extracted version of the BQN code: the function returns 1 for a balanced argument and 0 for an unbalanced one. Completely flat, no loops. Could probably be shortened a little if all you want to do is check whether things are balanced.