Data structures and algorithms (C/C++ and Java)