<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Binary Indexed Tree on Algorithm Solutions</title><link>https://algorithm.liangqin.ren/tags/binary-indexed-tree/</link><description>Recent content in Binary Indexed Tree on Algorithm Solutions</description><generator>Hugo -- gohugo.io</generator><lastBuildDate>Mon, 07 Sep 2026 20:40:32 -0500</lastBuildDate><atom:link href="https://algorithm.liangqin.ren/tags/binary-indexed-tree/index.xml" rel="self" type="application/rss+xml"/><item><title>406. Queue Reconstruction by Height</title><link>https://algorithm.liangqin.ren/leetcode/406/</link><pubDate>Mon, 07 Sep 2026 20:40:32 -0500</pubDate><guid>https://algorithm.liangqin.ren/leetcode/406/</guid><description>1. Description You are given an array of people, people, which are the attributes of some people in a queue (not necessarily in order). Each people[i] = [h$_i$, k$_i$] represents the i$^{th}$ person of height hi with exactly k$_i$ other people in front who have a height greater than or equal to h$_i$.
Reconstruct and return the queue that is represented by the input array people. The returned queue should be formatted as an array queue, where queue[j] = [h$_j$, k$_j$] is the attributes of the j$^{th}$ person in the queue (queue[0] is the person at the front of the queue).</description></item></channel></rss>