Find the middle element of linked list in C

Data structures and algorithm questions are important part of any programming job interview, whether Java interview, C/C++ interview or any other programming language. Since data structures are core programming concept, it’s mandatory for all programmers, to know...

Binary Trees

A binary tree is made of nodes, where each node contains a “left” pointer, a “right” pointer, and a data element. The “root” pointer points to the topmost node in the tree. The left and right pointers recursively point to smaller...

Arrays as Data Structure in C/C++ Programming

As discussed in the previous post, there are two types of data structures available to C and C++ programmers. One is already built into the programming language and other one is a bit complex in a sense that it can be implemented using the built in data structures and...

Data Structure Articles

The basic aim of mycplus.com website was to develop a website for students of C/C++ and data structures. There are lots of tutorials and source code covering different aspects of C/C++ programming language. Today I have decided to write few articles about data...