Onsite Coding: Block Mining with Dependencies (Max Fee under Size Constraint)
You are given a set of transactions (or blocks) to include in a block. Each transaction has:
idfeesize- dependencies: some transactions have a parent; selecting a transaction requires s...
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
