Skip to Main Content
aklepatc (
aklepatc
) wrote
2024
-
05
-
08
01:34 pm
Entry tags:
algorithm
,
coding interview
,
go
,
golang
Strange Container
Code a data structure with 2 operations: push() and popMostFrequent().
Most of the meat is in the comments/discussion below.
Threaded
|
Flat
no subject
sassa_nf
2024-05-08 05:51 pm (UTC)
(
link
)
Most frequently accessed?..
Ah, OK, there are no other accesses, just pushes and pops that presumably remove items.
Edited
2024-05-08 17:53 (UTC)
(no subject)
aklepatc
-
2024-05-08 18:18 (UTC)
-
Expand
(no subject)
sassa_nf
-
2024-05-08 21:00 (UTC)
-
Expand
(no subject)
aklepatc
-
2024-05-08 21:06 (UTC)
-
Expand
(no subject)
sassa_nf
-
2024-05-08 21:23 (UTC)
-
Expand
(no subject)
aklepatc
-
2024-05-08 21:26 (UTC)
-
Expand
(no subject)
sassa_nf
-
2024-05-08 21:40 (UTC)
-
Expand
(no subject)
aklepatc
-
2024-05-08 21:48 (UTC)
-
Expand
(no subject)
aklepatc
-
2024-05-08 22:13 (UTC)
-
Expand
(no subject)
sassa_nf
-
2024-05-09 07:35 (UTC)
-
Expand
(no subject)
aklepatc
-
2024-05-09 12:33 (UTC)
-
Expand
(no subject)
sassa_nf
-
2024-05-09 16:34 (UTC)
-
Expand
(no subject)
aklepatc
-
2024-05-09 16:40 (UTC)
-
Expand
(no subject)
aklepatc
-
2024-05-09 12:43 (UTC)
-
Expand
(no subject)
aklepatc
-
2024-05-08 21:23 (UTC)
-
Expand
(no subject)
sassa_nf
-
2024-05-09 07:42 (UTC)
-
Expand
(no subject)
aklepatc
-
2024-05-09 12:36 (UTC)
-
Expand
no subject
juan_gandhi
2024-05-08 07:49 pm (UTC)
(
link
)
PriorityQueue, I guess.
(no subject)
aklepatc
-
2024-05-08 20:05 (UTC)
-
Expand
(no subject)
juan_gandhi
-
2024-05-08 20:21 (UTC)
-
Expand
(no subject)
aklepatc
-
2024-05-08 20:26 (UTC)
-
Expand
(no subject)
juan_gandhi
-
2024-05-08 21:08 (UTC)
-
Expand
(no subject)
aklepatc
-
2024-05-08 21:11 (UTC)
-
Expand
(no subject)
aklepatc
-
2024-05-08 20:56 (UTC)
-
Expand
(no subject)
juan_gandhi
-
2024-05-08 21:08 (UTC)
-
Expand
25 comments
Post a new comment
Threaded
|
Flat
Log in
Account name:
Password:
Remember me
Other options:
Forget your password?
Log in with OpenID?
Close
menu
Log in
Create
Create Account
Display Preferences
Explore
Interests
Directory Search
Site and Journal Search
Latest Things
Random Journal
Random Community
FAQ
Shop
Buy Dreamwidth Services
Gift a Random User
DW Merchandise
Interest
Region
Site and Account
FAQ
Email
no subject
Most frequently accessed?..Ah, OK, there are no other accesses, just pushes and pops that presumably remove items.
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
no subject
PriorityQueue, I guess.
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)