collections: companion code for the How to Sort a HashMap by Value (and Key) post
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KqJyCidz3ZgRyHABv2GVJh
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
input size : 5
|
||||
TreeMap(value): {dave=70, carol=85, alice=90, erin=95} size 4
|
||||
containsKey : bob true, dave true get(bob) = 70
|
||||
TreeMap fixed : {bob=70, dave=70, carol=85, alice=90, erin=95} size 5
|
||||
Reference in New Issue
Block a user