LeetCode
Question
·
Mar 2022
·
USA
Twitter | Stage (Phone Screen )
4 upvotes
1,328 views
5 replies
Question Details
//\xA0Write\xA0a\xA0method\xA0to\xA0find\xA0out\xA0how\xA0much\xA0total\xA0time\xA0was\xA0spent\xA0in\xA0each\xA0space,\xA0 //\xA0over\xA0all\xA0users. //\xA0action,\xA0space,\xA0user,\xA0timestamp static\xA0String\xA0[][]\xA0requests\xA0=\xA0{ \xA0\xA0\xA0\xA0{"create",\xA0"xyz",\xA0"1",\xA0"1619916081"},\xA0//\xA0Sat\xA0May\xA001\xA02021\xA017:41:21\xA0GMT-0700\xA0 \xA0\xA0\xA0\xA0{"join",\xA0"xyz",\xA0"2",\xA0"1619916681"},\xA0//\xA0Sat\xA0May\xA001\xA02021\xA017:51:21\xA0GMT-0700 \xA0\xA0\xA…
Full Details
🔒
Unlock all Twitter/X questions
Full insider details, leaked discussions, and candidate experiences.
or every company, $100/year →About This Question
This is a reported interview question from a twitter/x interview for a swe role during the phone screen round reported in 2022.
It covers the following topics: Sql .