by saqib | Sep 18, 2017 | Data Structures

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...
by saqib | Jul 18, 2009 | Data Structures

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...
by saqib | Mar 28, 2009 | Data Structures

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...
by saqib | Mar 21, 2009 | Data Structures

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...
by saqib | Oct 31, 2008 | Java

This is a very simple demonstration of linked list in java programming language. Very nice and well commented java source code for beginners. User can “get” and “set” the list items as well as traverse through “previous” and...
by saqib | Oct 30, 2008 | Java

An object of type IntStack is a stack of real numbers, with the standard stack operations push(int N), pop(), and isEmpty(). A makeEmpty() operation is also provided to remove all items from the stack. Internally, the stack is implemented as a linked list....
by saqib | Oct 25, 2008 | Computer Science Books

In this second edition of his successful book, experienced teacher and author Mark Allen Weiss continues to refine and enhance his innovative approach to algorithms and data structures. Written for the advanced data structures course, this text highlights theoretical...
by saqib | Oct 24, 2008 | Computer Science Books

Provides a proven approach to algorithms & data structures using the exciting Java programming language as the implementation tool. With Java, the author highlights conceptual topics, focusing on ADTs and the analysis of algorithms for efficiency as well as...