Skip to content

Instantly share code, notes, and snippets.

#include <string>
#include <cassert>
#include <vector>
#include <map>
#include <iostream>
//unsigned long basePairCount; will be computed
//unsigned long maxDepth; will be computed
bool isDotBracket(const std::string &string, unsigned long &basePairCount,
unsigned long &maxDepth) {