Results for "Category: Data Structures"
in recursion we have limited stack to keep data. so when we try to find the solution of tower of honai for 5, we get in trouble. to solve this problem we've non recursive solution of it.
Advance Pointers
THis is a scheduling algorhim simulator very cool
I hope that this code will be helpful to those (specially the beginners) who want to know about using linked lists. This is actually a very simple program which shows the basic linked list operations like insertion, deletion, searching, modifying and traversing. Any queries related to this code is very welcome. Tell me if this piece of code was useful to you !!
This BST code will be useful to everyone who wants to know about the basic operations of a BST like Insertion, Deletion, Make Empty, Find Minimum, Find Maximun, Search, Traverse Ascending, and Traverse Descending. Do leave some comments on this code!!
The code is for creating adding deleting and printing
Introduction to C++ STL vector - a C++ standard class that acts similarily to a C array. No 3rd party classes, this is all standard among every standards compliant C++ compiler! The major benefit to the vector is that it is dynamic in size. You can add to it, remove from it, and not have to worry about handling the memory yourself. Very useful.
*Now compatible with MSVC* This is a class called HINT (or "Huge Int"). You use an object as you would any built-in data type with respect to all math operators (+ - * / % ++ --) and logical operators (> = == !=) and the standard insertion and extraction operators (>). Basically it's an integer of limitless size. The main difference from an int (other than the hugeness) is that you can assign it strings of numbers, and in some cases you have to, such as if you want to deal with a number that's too lar for the program to handle. Here's an example: HINT huge = "987654321012345678901231231236549878765431" cout
You can learn Pointer & Link List easily. Familiar with Link List
learn all about a single linked lists (adding and deleting nodes). Sorting works but it is not sorting the linked list itself but sorting array then transfering back into linked list.
all stack operations
Converts a given postfix expression into Infix Expression using stack of pointers.
Some linked list implementations are very hard to understand. Take a look at this Simplest Linked list. please vote
Many a time I found myself needing to display results in 'page' form. And call me old fashioned, devoted to learning or just plain stoopid, but I'd much rather learn how to code something myself than just plug in variables and let a snotty frontpage wizard do it for me. So, here it is, simple code to divide records into 'pages' of your choosing.
Quickly find out the type of variables returned from your adodb recordset. TypeName() function doesn't do the trick. Databases offer additional data types. This script helps solve type problems without having to lookup the name of the numbers returned.
A teaching tool that opens both Excel and Text files as data sources using ADO 2.6. The recordset then is streamed into XML for display. Then the XML is transformed back into ADO for updating the data source (Excel file or Text file).
:How to extend your urls dynamically using a Mysql Database without having file structures for every directory in your Url's, this code will improve search engine status of your website and much more.
Online Comunications between visitors of the web site!(No registration) Cool Design and nice user interface!
**UPDATED** This function will parse your favorite XML and RSS news feeds in a nice format. Only one variable to set up and easy to integrate and modify. Tested on several sources. Let me know this has been useful. Comments and suggestions are very much appreciate it. **Please Vote**
Code reads an array and writes array's php code to a file.