Facebook | Phone | Valid Palindrome 2 & Word Break 2
Anonymous User
1836

Date: Feb 2020
Two questions: 45mins (10mins intro + 15mins each question + 5min final notes )

Question 1:
https://leetcode.com/articles/valid-palindrome-ii/
Ex1: "aba" --> True
Ex2: "aaba" --> True
Ex3: "abcda" --> False

Question 2:
Sentence formation with given dictionary https://leetcode.com/problems/word-break-ii/
Dictionary = ["the" , "cat", "i", "is", "black"]
String = "thecatisblack"
Return "the cat is black"

Comments (3)