Friday Algorithms: A Data Structure: JavaScript Stack
Algorithms and Data Structures Instead of writing about “pure” algorithms this time I’ve decided to write about data structures and to start with a stack implementation in JavaScript. However...
View ArticleComputer Algorithms: Stack and Queue
Introduction Every developer knows that computer algorithms are tightly related to data structures. Indeed many of the algorithms depend on a data structures and can be very effective for some data...
View ArticleComputer Algorithms: Linked List
Introduction The linked list is a data structure in which the items are ordered in a linear way. Although modern programming languages support very flexible and rich libraries that works with arrays,...
View ArticleComputer Algorithms: Binary Search Tree
Introduction Constructing a linked list is a fairly simple task. Linked lists are a linear structure and the items are located one after another, each pointing to its predecessor and its successor....
View ArticleComputer Algorithms: Detecting and Breaking a Loop in a Linked List
Introduction Linked lists are one very common and handy data structure that can be used in many cases of the practical programming. In this post we’ll assume that we’re talking about singly linked...
View ArticlePHP: Arrays or Linked Lists?
Arrays vs. Linked List If we talk about arrays and linked lists we know the pros and cons about both of them. No matter which programming language we use arrays benefit from direct access to its items,...
View Article
More Pages to Explore .....