Taylor Emma

A senior editor for The Mars that left the company to join the team of SenseCentral as a news editor and content creator. An artist by nature who enjoys video games, guitars, action figures, cooking, painting, drawing and good music.
2477 Articles

Graph Theory – Types of Graphs

There are various types of graphs depending upon the number of vertices,…

Taylor Emma

Maximum Matching in Bipartite Graphs

 In many situations we are faced with a problem of pairing elements…

Taylor Emma

The Simplex Method

We have already encountered linear programming (see Section 6.6)—the general problem of…

Taylor Emma

Iterative Improvement

The greedy strategy, considered in the preceding chapter, constructs a solution to…

Taylor Emma

Huffman Trees and Codes

Suppose we have to encode a text that comprises symbols from some n-symbol…

Taylor Emma

Dijkstra’s Algorithm

In this section, we consider the single-source shortest-paths problem: for a given vertex…

Taylor Emma

Kruskal’s Algorithm

In the previous section, we considered the greedy algorithm that “grows” a…

Taylor Emma

Prim’s Algorithm

The following problem arises naturally in many practical situations: given n points, connect them…

Taylor Emma

Greedy Technique

Let us revisit the change-making problem faced, at least subconsciously, by millions of cashiers…

Taylor Emma

The Knapsack Problem and Memory Functions

We start this section with designing a dynamic programming algorithm for the…

Taylor Emma