<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Find Answers For ... - Recent questions tagged structure</title>
<link>https://find4answers.com/tag/structure</link>
<description>Powered by Question2Answer</description>
<item>
<title>Can any one design algorithim for the below scenario.</title>
<link>https://find4answers.com/56/can-any-one-design-algorithim-for-the-below-scenario</link>
<description>Write a method which will tell me the efficinent order of a matrix (X*Y), &amp;nbsp;where i can store n elements. Following the condition,&lt;br /&gt;
&lt;br /&gt;
1. After storing n elements in that matrix, it should not have more than 2 empty spaces/blocks left.&lt;br /&gt;
&lt;br /&gt;
2. the order/size of the matrix should &amp;nbsp;be nearer to a square matrix size. i.e. try to create the matrix, either of square matrix or a rectagonal matrix but nearer to a square matrix.&lt;br /&gt;
&lt;br /&gt;
Eg.,&lt;br /&gt;
&lt;br /&gt;
For n=4, X=2, Y=2 &lt;br /&gt;
&lt;br /&gt;
For n=23, X=5, Y=5&lt;br /&gt;
&lt;br /&gt;
For n=22, X=4, Y=6 or X=6, Y=4&lt;br /&gt;
&lt;br /&gt;
For n=21, X=3, Y=7 or X=7, Y=3</description>
<category>Programming</category>
<guid isPermaLink="true">https://find4answers.com/56/can-any-one-design-algorithim-for-the-below-scenario</guid>
<pubDate>Tue, 20 Dec 2011 08:14:50 +0000</pubDate>
</item>
</channel>
</rss>