Ezvor
Interview prep & careers
Practice
Home
Problems
Study Lists
Progress
Leaderboard
Compiler
Career
Readiness
Roadmaps
Opportunities
Resources
AI Advisor
0
day streak
0
solved
Settings
Sign in
Toggle Sidebar
Ezvor
Interview prep & careers
Problem List
Run
Submit
Interview
Interview mode
0
00:00
Description
Editorial
Solutions
AI Coach
Submissions
Notes
1181. Before and After Puzzle
Medium
Array
Preparing judge…
LeetCode
Array
Hash Table
String
Sorting
Hints
Hint 1
What if you check every pair of strings (bruteforce)?
Hint 2
For every two strings, check if they can form a puzzle by comparing their last and first words.
Preparing judge…
Testcase
Test Result
Case 1
Input