Few days back , i found some codebase which handled so many if conditions based on some input parameter. This thing made particular method to be 100 lines long. The code works fine , but was too ugly.
Saturday, 20 June 2015
Subscribe to:
Posts (Atom)
Basics of Tree data structure
Tree data structure simulates a hierarchical tree structure, with root and subtrees represented by linked nodes. Some Terminology Root...
-
Graph consist of vertices and edges. They are used to model many realworld examples ( likes cities, network…) Graph Implementing a graph wit...
-
Machine learning algorithms are used to understand the text & categorise them by computer programs itself . It involves some training d...
-
Topological sorting in directed graph is linear ordering of vertices, such that for every directed edge from u to v, vertex u will come bef...