Skip to content

Instantly share code, notes, and snippets.

View npes87184's full-sized avatar
🕊️
Enjoy what you are doing!

Yu-Chen Lin npes87184

🕊️
Enjoy what you are doing!
View GitHub Profile
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
"comment.block",
"comment.block.documentation",
"comment.line",
"constant",
"constant.character",
@npes87184
npes87184 / Q_6_8.cpp
Last active December 6, 2020 03:14
Q_6_8.cpp
#include <bits/stdc++.h>
#include <iostream>
#include <string>
using namespace std;
int TopDown(const string &str_a, const string &str_b, const int idx_a, const int idx_b, vector<vector<int>> &dp, int &max_ans)
{
if (idx_a == str_a.size()) {
return 0;