Account name:
Password
(OpenID?)
(Forgot it?)
Remember Me
You're viewing
aklepatc
's journal
Create a Dreamwidth Account
Learn More
Interest
Region
Site and Account
FAQ
Email
Reload page in style:
site
light
aklepatc
Strange Container
Strange Container
May
.
8th
,
2024
01:34 pm
aklepatc
Code a data structure with 2 operations: push() and popMostFrequent().
Most of the meat is in the comments/discussion below.
Flat
|
Top-Level Comments Only
no subject
Date:
2024-05-08 08:56 pm (UTC)
From:
aklepatc
Meta comment.
I mostly post problems for which all three are true:
1. I failed to solve the problem at some real interview.
2. Learned the solution or solved later.
3. See the solution as being amusing/useful/interesting enough to share.
Edited (Clarification )
Date:
2024-05-08 09:07 pm (UTC)
no subject
Date:
2024-05-08 09:08 pm (UTC)
From:
juan_gandhi
I see. It was a philosophical question. But I was also curious... but not much. :)
25 comments
Reply
Flat
|
Top-Level Comments Only
Profile
aklepatc
Recent Entries
Archive
Reading
Tags
Memories
Profile
May
2024
S
M
T
W
T
F
S
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Most Popular Tags
algorithm
-
1 use
coding interview
-
2 uses
go
-
4 uses
golang
-
4 uses
Page Summary
aklepatc
-
(no subject)
Style Credit
Style:
Neutral Good
for
Practicality
by
timeasmymeasure
Expand Cut Tags
No cut tags
Page generated Jun. 16th, 2025 07:53 pm
Powered by
Dreamwidth Studios
no subject
Date: 2024-05-08 08:56 pm (UTC)I mostly post problems for which all three are true:
1. I failed to solve the problem at some real interview.
2. Learned the solution or solved later.
3. See the solution as being amusing/useful/interesting enough to share.
no subject
Date: 2024-05-08 09:08 pm (UTC)I see. It was a philosophical question. But I was also curious... but not much. :)