<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Enumeration on Algorithm Solutions</title><link>https://algorithm.liangqin.ren/tags/enumeration/</link><description>Recent content in Enumeration on Algorithm Solutions</description><generator>Hugo -- gohugo.io</generator><lastBuildDate>Sat, 10 Oct 2026 11:56:54 -0500</lastBuildDate><atom:link href="https://algorithm.liangqin.ren/tags/enumeration/index.xml" rel="self" type="application/rss+xml"/><item><title>2778. Sum of Squares of Special Elements</title><link>https://algorithm.liangqin.ren/leetcode/2778/</link><pubDate>Sat, 10 Oct 2026 11:56:54 -0500</pubDate><guid>https://algorithm.liangqin.ren/leetcode/2778/</guid><description>1. Description Treat nums, an integer array of length n, as indexed from 1 through n.
An element is special when its index is a divisor of n. Compute the sum obtained by squaring each special element and adding the results.
2. Example Example 1 Input: nums = [1,2,3,4]
Output: 21
Explanation: The qualifying positions are 1, 2, and 4, giving $1^2 + 2^2 + 4^2 = 21$.
Example 2 Input: nums = [2,7,1,19,18,3]</description></item></channel></rss>