摘要:
给出两个字符串,找到最长公共子串,并返回其长度。 样例 给出A=“ABCD”,B=“CBCE”,返回 2 class Solution: """ @param: A: A string @param: B: A string @return: the length of the longest co 阅读全文
摘要:
#include "stack.h" #include <iostream> using namespace std; int main() { Stack<Queen> solu; placeQueen(5, solu); for (int i = 0; i < 5; i++) { Queen a 阅读全文