I want to understand implementation of red black and AVL trees using C++. I checked some websites about them but most of them are complex and difficult to understand. Could you suggest me some resources please?
First read the basic properties of the two trees. You don't have to limit yourself to one programming language. If you understand these properties,then you can implement it by yourself in any language.
Properties of Red Black Tree:
Red Black Tree C++ code: http://www.sanfoundry.com/cpp-program-implement-red-black-tree/
AVL Tree Tutorial: https://www.youtube.com/watch?v=rwzuze_tTwQ
AVL Tree C++ code: https://tfetimes.com/c-avl-tree/