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.
Flat
|
Top-Level Comments Only
no subject
aklepatc
2024-05-09 04:40 pm (UTC)
(
link
)
Interesting. Lots of ways to slice it. Lol.
Go ways are very similar to C ways. So old C ppl find Go easy. In particular, Go slicing resembles C pointer arithmetic when it's used say to move a window over a larger array.
25 comments
Post a new comment
Flat
|
Top-Level Comments Only
[
Home
|
Post Entry
|
Log in
|
Search
|
Browse Options
|
Site Map
]
no subject
Go ways are very similar to C ways. So old C ppl find Go easy. In particular, Go slicing resembles C pointer arithmetic when it's used say to move a window over a larger array.