{"title":"用O(N/logN)和求N位","authors":"S. Corlat, Veaceslav Guzun, Victor Vorona","doi":"10.36120/2587-3644.v14i2.101-105","DOIUrl":null,"url":null,"abstract":"The problem we are trying to solve sounds as follows: You are given N bits.Find the value of each bit. We will show a technique which enables finding the values of N bits using O(N/logN) subsequence-sum queries. The algorithm consists of two phases: Constructing the queries for each layer and using the queries for a particular layer to getthe value of every bit. We described the following technique in this blog [1], which wasinspired by this article [2]. It should be noted that this number of queries is indeed theoptimal one for finding all N bits of a binary array, since each subsequence-sum queriesoffers us at most log(2)N bits of information.","PeriodicalId":398181,"journal":{"name":"Acta et commentationes Ştiinţe Exacte şi ale Naturii","volume":"42 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Finding N bits using O(N/logN) sums\",\"authors\":\"S. Corlat, Veaceslav Guzun, Victor Vorona\",\"doi\":\"10.36120/2587-3644.v14i2.101-105\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The problem we are trying to solve sounds as follows: You are given N bits.Find the value of each bit. We will show a technique which enables finding the values of N bits using O(N/logN) subsequence-sum queries. The algorithm consists of two phases: Constructing the queries for each layer and using the queries for a particular layer to getthe value of every bit. We described the following technique in this blog [1], which wasinspired by this article [2]. It should be noted that this number of queries is indeed theoptimal one for finding all N bits of a binary array, since each subsequence-sum queriesoffers us at most log(2)N bits of information.\",\"PeriodicalId\":398181,\"journal\":{\"name\":\"Acta et commentationes Ştiinţe Exacte şi ale Naturii\",\"volume\":\"42 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Acta et commentationes Ştiinţe Exacte şi ale Naturii\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.36120/2587-3644.v14i2.101-105\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Acta et commentationes Ştiinţe Exacte şi ale Naturii","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.36120/2587-3644.v14i2.101-105","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
The problem we are trying to solve sounds as follows: You are given N bits.Find the value of each bit. We will show a technique which enables finding the values of N bits using O(N/logN) subsequence-sum queries. The algorithm consists of two phases: Constructing the queries for each layer and using the queries for a particular layer to getthe value of every bit. We described the following technique in this blog [1], which wasinspired by this article [2]. It should be noted that this number of queries is indeed theoptimal one for finding all N bits of a binary array, since each subsequence-sum queriesoffers us at most log(2)N bits of information.