Add solution for "Day 23: LAN Party", part 2
This commit is contained in:
@@ -36,4 +36,8 @@ class LanParty
|
||||
int findOrAddVertex(const std::string& vertexId);
|
||||
void computeInterconnectedThreeSetCount(const int vertexTx);
|
||||
bool canProcessVertex(const int vertexToCheck, const int vertexTx) const;
|
||||
bool findCompleteSubgraph(const int vertex, const size_t targetSize);
|
||||
bool isSubgraphComplete(const std::vector<int>& neighbors, const std::vector<bool>& combination) const;
|
||||
std::string calcPassword(const std::vector<int>& neighbors, const std::vector<bool>& combination,
|
||||
const int vertex) const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user