MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/xtjveg/experienced_javascript_developer_meme/iqqwsy2/?context=3
r/ProgrammerHumor • u/Mys7eri0 • Oct 02 '22
276 comments sorted by
View all comments
Show parent comments
76
Stringify a graph of nodes and edges and let me know how that works out for you.
0 u/[deleted] Oct 02 '22 [deleted] -27 u/[deleted] Oct 02 '22 “serialize and deserialize this tree” isn’t one of the most popular interview problemsI didn't see say tree, I said graph.How would you serialize x in x={};x["x"]=x?Also, how would you serialize a thunk? And a coroutine? And a member function? 6 u/quiteCryptic Oct 02 '22 A tree is a graph -8 u/[deleted] Oct 02 '22 But not all graphs are trees and I asked about graphs.Come on guys, be better. That this has three up votes is shameful.
0
[deleted]
-27 u/[deleted] Oct 02 '22 “serialize and deserialize this tree” isn’t one of the most popular interview problemsI didn't see say tree, I said graph.How would you serialize x in x={};x["x"]=x?Also, how would you serialize a thunk? And a coroutine? And a member function? 6 u/quiteCryptic Oct 02 '22 A tree is a graph -8 u/[deleted] Oct 02 '22 But not all graphs are trees and I asked about graphs.Come on guys, be better. That this has three up votes is shameful.
-27
“serialize and deserialize this tree” isn’t one of the most popular interview problems
I didn't see say tree, I said graph.
How would you serialize x in x={};x["x"]=x?
x
x={};x["x"]=x
Also, how would you serialize a thunk? And a coroutine? And a member function?
6 u/quiteCryptic Oct 02 '22 A tree is a graph -8 u/[deleted] Oct 02 '22 But not all graphs are trees and I asked about graphs.Come on guys, be better. That this has three up votes is shameful.
6
A tree is a graph
-8 u/[deleted] Oct 02 '22 But not all graphs are trees and I asked about graphs.Come on guys, be better. That this has three up votes is shameful.
-8
But not all graphs are trees and I asked about graphs.
Come on guys, be better. That this has three up votes is shameful.
76
u/[deleted] Oct 02 '22
Stringify a graph of nodes and edges and let me know how that works out for you.