AlgoViz

Adapter pattern

easy 50 min

The Adapter pattern makes an existing class fit the interface that its client expects, without changing either of them.

Watch lesson4:39

Mock interview

Answer against the clock, then score yourself.

0:00 of 45:00

Design the part of a shop that takes payments through two very different vendors. You have 45 minutes. Speak, draw and write code for the core. Start the clock, then score yourself.

Step 1 of 6 · 6 min

Requirements

Interviewer

We use two payment vendors. What do you want to know?