Mots-clés » D.P.

LC551/552 Student Attendance Record

You are given a string representing an attendance record for a student. The record only contains the following three characters:

  1. ‘A’ : Absent.
  2. ‘L’ : Late.
  3. 438 mots de plus
Dynamic Programming

LC730. Count different palindrome Subsequences

Given a string S, find the number of different non-empty palindromic subsequences in S, and return that number modulo 10^9 + 7.

A subsequence of a string S is obtained by deleting 0 or more characters from S. 626 mots de plus

Dynamic Programming

Final Exam paper review

You can review your paper only on Saturday, 19/5/18 from 9AM to 11AM in my office.


LC Palindrome related problems

A palindrome string or number is defined as: the original series and the reverse series are identical.

There are a few observations which might be useful for these problems… 1 847 mots de plus


КЗЛД: Информационно-разяснителни материали по Регламент 2016/679 (GDPR)

EU Law

LC131/132. Palindrome Partitioning

131. Given a string s, partition s such that every substring of the partition is a palindrome.

Return all possible palindrome partitioning of s… 612 mots de plus

Dynamic Programming