summaryrefslogtreecommitdiffstats
path: root/04-algorithms_on_strings/02-burrows_wheeler/02-bwtinverse/bwtinverse.cpp
diff options
context:
space:
mode:
Diffstat (limited to '04-algorithms_on_strings/02-burrows_wheeler/02-bwtinverse/bwtinverse.cpp')
-rw-r--r--04-algorithms_on_strings/02-burrows_wheeler/02-bwtinverse/bwtinverse.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/04-algorithms_on_strings/02-burrows_wheeler/02-bwtinverse/bwtinverse.cpp b/04-algorithms_on_strings/02-burrows_wheeler/02-bwtinverse/bwtinverse.cpp
new file mode 100644
index 0000000..3ec7c54
--- /dev/null
+++ b/04-algorithms_on_strings/02-burrows_wheeler/02-bwtinverse/bwtinverse.cpp
@@ -0,0 +1,25 @@
+#include <algorithm>
+#include <iostream>
+#include <string>
+#include <vector>
+
+using std::cin;
+using std::cout;
+using std::endl;
+using std::string;
+using std::vector;
+
+string InverseBWT(const string& bwt) {
+ string text = "";
+
+ // write your code here
+
+ return text;
+}
+
+int main() {
+ string bwt;
+ cin >> bwt;
+ cout << InverseBWT(bwt) << endl;
+ return 0;
+}