Repository Merkle Tree Hashing and Change Detection

Problem: Repository Merkle Tree Hashing and Change Detection

Given snapshots of a code repository, build a Merkle tree and compute the repository root hash.

A repository contains files and direct...

Example

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: