Submitted by heartin on Sat, 09/12/2015 - 23:04
Below are some of the problems based on stacks and queues. You will also find applications of stacks and queues in other sections such as Trees and Graphs.
Important Points to Remember
-
Stack uses the LIFO (Last In First Out) ordering.
-
Queue uses the FIFO (First In First Out) ordering.
Important Points to Revise
- Arrays, Linked Lists
Problems
-
Implement a stack
-
Implement a queue
Submitted by heartin on Thu, 09/10/2015 - 21:21
Basic building blocks of a linked data structure like linked list, trees, binary trees and graphs are nodes. All these data structures can be considered as a connection of these nodes. The structure of these nodes and how they are connected differ for different data structures. Hence to work with these data structures in Java, you need to understand their node structure first.
Here is a summary of nodes and their most commonly used structure, defined in Java.
Submitted by heartin on Sat, 09/05/2015 - 22:20
This note will list few things you should try to avoid in your design. Please also see notes on SOLID Principles and summary of additional design principles and best practices.
-
Run-Time Type Identification (RTTI)
-
Cyclomatic complexity (CC)
Submitted by heartin on Sat, 09/05/2015 - 22:14
SOLID is a mnemonic acronym introduced by Michael Feathers for five of the principles named by Robert C. Martin, and when applied together, these intend to make it more likely that a programmer will create a system that is easy to maintain and extend over time.
-
(++) Single responsibility principle (SRP)
Submitted by heartin on Wed, 07/08/2015 - 19:07
Any discussion about Big Data will not be complete without discussing about Data Science and its relation with Big Data. Data Science can be considered as the extraction of knowledge from large volumes of data that are structured (e.g. RDBMS, Excel) or unstructured (e.g. emails, videos, photos, social media, and other user-generated content). Data Science may be considered as a continuation of the field of data mining and predictive analytics.
Pages