<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>双指针 on Heeepin</title><link>https://heeeepin.com/tags/%E5%8F%8C%E6%8C%87%E9%92%88/</link><description>Recent content in 双指针 on Heeepin</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Mon, 04 Apr 2022 21:10:00 +0800</lastBuildDate><atom:link href="https://heeeepin.com/tags/%E5%8F%8C%E6%8C%87%E9%92%88/index.xml" rel="self" type="application/rss+xml"/><item><title>平方数之和</title><link>https://heeeepin.com/post/leetcode633-%E5%B9%B3%E6%96%B9%E6%95%B0%E4%B9%8B%E5%92%8C/</link><pubDate>Mon, 04 Apr 2022 21:10:00 +0800</pubDate><guid>https://heeeepin.com/post/leetcode633-%E5%B9%B3%E6%96%B9%E6%95%B0%E4%B9%8B%E5%92%8C/</guid><description>给定一个非负整数 c ，你要判断是否存在两个整数 a 和 b，使得 a2 + b2 = c 。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 func judgeSquareSum(c int) bool { left, right := 0, int(math.Sqrt(float64(c))) for left &amp;lt;= right { sum := left*left + right*right if sum</description></item></channel></rss>