Company: Salesforce_17feb
Difficulty: medium
Salesforce Records Archival body { font-family: sans-serif; line-height: 1.6; color: #333; max-width: 800px; margin: 20px auto; padding: 0 15px; } h1 { color: #2c3e50; border-bottom: 2px solid #eee; padding-bottom: 10px; } h2 { color: #34495e; margin-top: 30px; border-bottom: 1px solid #eee; padding-bottom: 5px; } h3 { color: #2980b9; margin-top: 20px; } h4 { color: #16a085; margin-top: 15px; } p { margin-bottom: 10px; } ul { list-style-type: disc; margin-left: 20px; margin-bottom: 10px; } li { margin-bottom: 5px; } code { background-color: #f4f4f4; padding: 2px 4px; border-radius: 3px; font-family: monospace; } pre { background-color: #f4f4f4; padding: 10px; border-radius: 5px; overflow-x: auto; margin-bottom: 15px; } Salesforce Records Archival Problem Description A Salesforce Admin is tasked with optimizing a data cleanup process in a Lightning Component. The component displays a sequence of customer records represented as lowercase English letters. To improve efficiency, adjacent r