Skip to content

Commit

Permalink
Merge pull request #7 from justcoding121/develop
Browse files Browse the repository at this point in the history
Beta 140+
  • Loading branch information
justcoding121 authored Jan 24, 2018
2 parents df3c2a1 + ef100d4 commit f66fbdd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private ShortestPathResult<T, W> tracePath(WeightedDiGraph<T, W> graph,
pathStack.Push(destination);

var currentV = destination;
while (!Equals(currentV, default(T)) && !parentMap[currentV].Equals(default(T)))
while (!Equals(currentV, default(T)) && !Equals(parentMap[currentV],default(T)))
{
pathStack.Push(parentMap[currentV]);
currentV = parentMap[currentV];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ private ShortestPathResult<T, W> tracePath(WeightedDiGraph<T, W> graph,
pathStack.Push(destination);

var currentV = destination;
while (!Equals(currentV,default(T)) && !parentMap[currentV].Equals(default(T)))
while (!Equals(currentV,default(T)) && !Equals(parentMap[currentV], default(T)))
{
pathStack.Push(parentMap[currentV]);
currentV = parentMap[currentV];
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Note: On a decent desktop, in given implementations here for +ive random input i
## Distributed Systems

- [X] Circular Queue (Ring Buffer) ([Implementation](https://github.com/justcoding121/Advanced-Algorithms/tree/develop/Advanced.Algorithms/DistributedSystems/CircularQueue.cs) | [Tests](https://github.com/justcoding121/Advanced-Algorithms/tree/develop/Advanced.Algorithms.Tests/DistributedSystems/CircularQueue_Tests.cs))
- [X] Consistant Hash ([Implementation](https://github.com/justcoding121/Advanced-Algorithms/tree/develop/Advanced.Algorithms/DistributedSystems/ConsistantHash.cs) | [Tests](https://github.com/justcoding121/Advanced-Algorithms/tree/develop/Advanced.Algorithms.Tests/DistributedSystems/ConsistantHash_Tests.cs))
- [X] Consistant Hash ([Implementation](https://github.com/justcoding121/Advanced-Algorithms/tree/develop/Advanced.Algorithms/DistributedSystems/ConsistentHash.cs) | [Tests](https://github.com/justcoding121/Advanced-Algorithms/tree/develop/Advanced.Algorithms.Tests/DistributedSystems/ConsistentHash_Tests.cs))
- [X] LRU Cache ([Implementation](https://github.com/justcoding121/Advanced-Algorithms/tree/develop/Advanced.Algorithms/DistributedSystems/LRUCache.cs) | [Tests](https://github.com/justcoding121/Advanced-Algorithms/tree/develop/Advanced.Algorithms.Tests/DistributedSystems/LRUCache_Tests.cs))

## Numerical Methods
Expand Down

0 comments on commit f66fbdd

Please sign in to comment.