Google interview question

Write verilog code for synchronous and asynchronous counter