Second Freebie!!! This one is marked as "easy"
This problem was asked by Google.
Given two singly linked lists that intersect at some point, find the intersecting node. The lists are non-cyclical.
For example, given A = 3 -> 7 -> 8 -> 10 and B = 99 -> 1 -> 8 -> 10, return the node with value 8.
In this example, assume nodes with the same value are the exact same node objects.
Do this in O(M + N) time (where M and N are the lengths of the lists) and constant space.
As many of you know I had horrific handwriting a year ago and the last yea I have been practicing calligraphy. Thing is, I always practices very slow careful writing to get the letter forms as good as I can get it. I never once practiced hand writing at normal speeds as I was trying to improve.
Lately though ive been using my learning of Dutch as an opportunity to use my new found handwriting to reinforce various phrases. As such I am fast-writing for the first time and realize that somehow my fast writing is actually really good, maybe even better than my slow writing! I'm really stoked.
The attached image are three phrases I wrote about as fast as I possibly can write (few seconds) and they look pretty damn good!
I am mostly concerned with transparency and if he lives up to his own rules.
So far the question felt a bit like an accusation based entirely off gossip without one shred of evidence (in fact our ToS which we actively up hold directly states harassment is not permitted).
I also replied asking for even a single instance where a trans person was negatively confronted on our instance that didnt result in some form of intervention. Obviously they would be unable to find a case.
So I am mostly curious to see if they actually objectively and honestly hold to their own stated (publicly) rules for inclusion in the list or not. Obviously if they make a decision based on gossip without one shred of evidence to back it up then that is very worrisome and will likely indirectly cause a lot of fall out and more popularity towards free speech instances including gab.
bad/good idea of the day
actually maybe that scene is ace of wands? castaway has so many scenes that could be the hermit. obviously
Since it has been such a politicial issue for so many people, and people keep asking whats up, I just wanted to update everyone on the 2-month-old server submission request.
I finally got a response today, presumably from @Gargron@mastodon.social / @Gargron@tooting.ai or perhaps @sociallyeleanor@mastodon.social though I cant be certain. It was very respectful and while it did not resolve the issue it basically asked if a trans person were to join my server if he/she would have their identity questioned. Obviously since we support trans rights I expect this to move quickly.
So seems the backlog is being addressed. Of course i responded by requesting any examples where that has happened in the past (as I am not aware of any) and even provided an example where we had to suspend someone due to them being hateful towards someone of the trans community.
So hopefully we will see some movement and it wont be another 2 months to hear the response after having answered the question.
I will keep everyone updated so they can know if this was resolved. I would like to give credit where credit is due if they are legitimately catching up on this stuff. The question seemed sincere and not just a delay but we will have to wait and see. but looking a bit better I think.
@Gargron@mastodon.social @Gargron@tooting.ai
Any idea when we could expect you to finish handling the server submission requests back log?
Seems it is coming on 2 months now with no activity.
I never would have anticipated that @pixelfed would have grown to what it is today.
This shoutout from Cambodia made me tear up, I'm so happy that I can make a difference in the fediverse!
Biden is literally my last choice for president.
I share this link mostly just because it includes the original letter from Biden's campaign. The rest of the content has clear bias so be cautious.
Why I love (some) of my fellow divers:
Here's a freebie. They labeled it as "Hard"
This problem was asked by Google.
Suppose we represent our file system by a string in the following manner:
The string "dir\n\tsubdir1\n\tsubdir2\n\t\tfile.ext" represents:
dir
subdir1
subdir2
file.ext
The directory dir contains an empty sub-directory subdir1 and a sub-directory subdir2 containing a file file.ext.
The string "dir\n\tsubdir1\n\t\tfile1.ext\n\t\tsubsubdir1\n\tsubdir2\n\t\tsubsubdir2\n\t\t\tfile2.ext" represents:
dir
subdir1
file1.ext
subsubdir1
subdir2
subsubdir2
file2.ext
The directory dir contains two sub-directories subdir1 and subdir2. subdir1 contains a file file1.ext and an empty second-level sub-directory subsubdir1. subdir2 contains a second-level sub-directory subsubdir2 containing a file file2.ext.
We are interested in finding the longest (number of characters) absolute path to a file within our file system. For example, in the second example above, the longest absolute path is "dir/subdir2/subsubdir2/file2.ext", and its length is 32 (not including the double quotes).
Given a string representing the file system in the above format, return the length of the longest absolute path to a file in the abstracted file system. If there is no file in the system, return 0.
Note:
The name of a file contains at least a period and an extension.
The name of a directory or sub-directory will not contain a period.
USPOL approval rating
What I find particularly alarming about this conversation is how much it mirrors the election which got him in office int he first place. The left was so cock sure that Trump's support was too low to ever stand a chance that the left convinced themselves they had a sure win, as a result their voter turnout was lower than it would ottherwise have been and trump, actually having a decent amount of support, won.
Here we are again with someone stating a very objective and obvious fact that Trump had a peak approval rating around 58% and currently passes Obama's approval rating now.
By denying yourselves the facts and fooling yourself into the idea that no one likes him (which sadly isnt true) you will just garuntee him another 4 years. Then again I'm not sure a strong enough democratic politician will the primaries anyway. The few democratic politicians who werent particular extreme in their policies and thus stood a good chance of dethroning trump seem to also be WAY behind in the primaries.
So while I really really want Trump to loose and be replaced with a competent politician, if this thread is any indication, he will likely get another 4 year ssadly.
Reshare from @david pretty much sums up why I try to give people the benefit of the doubt when their acting childish on my posts or in general
Jeffrey Phillips Freeman
Innovator & Entrepreneur in Machine Learning, Evolutionary Computing & Big Data. Avid SCUBA diver, Open-source developer, HAM radio operator, astrophotographer, and anything nerdy.
Born and raised in Philadelphia, PA, USA, currently living in Utrecht, Netherlands, USA, and Thailand. Was also living in Israel, but left.
Pronouns: Sir / Mister
(Above pronouns are not intended to mock, i will respect any persons pronouns and only wish pronouns to show respect be used with me as well. These are called neopronouns, see an example of the word "frog" used as a neopronoun here: http://tinyurl.com/44hhej89 )
A proud member of the Penobscot Native American tribe, as well as a Mayflower passenger descendant. I sometimes post about my genealogical history.
My stance on various issues:
Education: Free to PhD, tax paid
Abortion: Protected, tax paid, limited time-frame
Welfare: Yes, no one should starve
UBI: No, use welfare
Racism: is real
Guns: Shall not be infringed
LGBT+/minorities: Support
Pronouns: Will respect
Trump: Moron, evil
Biden: Senile, racist
Police: ACAB
Drugs: Fully legal, no prescriptions needed
GPG/PGP Fingerprint: 8B23 64CD 2403 6DCB 7531 01D0 052D DA8E 0506 CBCE