I've tried ChatGPT to generate C++ code for simple tasks. LRU cache, QuickSort. It generates good, clean modern C++ code. Each time it's a slightly different code. It must be a headache to conduct online coding interviews these days.