Google doesn’t require you to do that in any Google-exclusive way. You can take that prep to an Amazon or Facebook interview.
If it were a ship building company asking you to do 6 months of ship building business logic to get a job that would be different, for example.