<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Advent of Code 2021 Day 17 (BaseA Style) in General Discussions</title>
    <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881732#M5430</link>
    <description>&lt;P&gt;This is brute forth... but my workflow finish around 30 seconds for Start1 and 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AkimasaKajitani_0-1639812534906.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215278iBDB094B4762DFF0E/image-size/large?v=v2&amp;amp;px=999" role="button" title="AkimasaKajitani_0-1639812534906.png" alt="AkimasaKajitani_0-1639812534906.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;Git Hub&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/AkimasaKajitani/AdventOfCode/tree/main/2021" target="_blank"&gt;https://github.com/AkimasaKajitani/AdventOfCode/tree/main/2021&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 18 Dec 2021 07:29:51 GMT</pubDate>
    <dc:creator>AkimasaKajitani</dc:creator>
    <dc:date>2021-12-18T07:29:51Z</dc:date>
    <item>
      <title>Advent of Code 2021 Day 17 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881209#M5413</link>
      <description>&lt;P&gt;Discussion thread for day 17 of the Advent of Code - &lt;A href="https://adventofcode.com/2021/day/17" target="_blank"&gt;https://adventofcode.com/2021/day/17&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 22:27:49 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881209#M5413</guid>
      <dc:creator>jdunkerley79</dc:creator>
      <dc:date>2021-12-16T22:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 17 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881314#M5418</link>
      <description>&lt;P&gt;When in doubt brute force it out. I tried for 40min to learn the math with limited success.&lt;/P&gt;&lt;LI-SPOILER&gt;Challenge 1 math helped with narrowing the X range to where X velocity reached 0 within the target range. Challenge 2 just went with a brute force using generated rows. Ended up generating ~2bil rows (65GB of data) and letting it run for 30 min. An iterative macro probably would have been the smarter choice. Could have just counted every time there was a match instead of storing all that memory.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bflick_0-1639724396674.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215106iF5ECD273E363CEA4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bflick_0-1639724396674.png" alt="bflick_0-1639724396674.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Fri, 17 Dec 2021 07:00:29 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881314#M5418</guid>
      <dc:creator>bflick</dc:creator>
      <dc:date>2021-12-17T07:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 17 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881339#M5419</link>
      <description>&lt;P&gt;Interesting to see the variety of possible velocities...&lt;/P&gt;&lt;LI-SPOILER&gt;I manually tinkered with the starting velocity ranges in the Generate Rows tools. I was surprised by some of the options that worked.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Since the latest valid velocities came from iterations 250 ish, I made the assumption (validly, for my puzzle input) that those still running after 1000 iterations would not make it into the target. These rows were probably still iterating because I set my possible y velocities too high.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Graphing the target helped me estimate the best starting velocities" style="width: 641px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215113i2772154737353837/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-12-16 at 11.20.00 PM.png" alt="Graphing the target helped me estimate the best starting velocities" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Graphing the target helped me estimate the best starting velocities&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Workflow" style="width: 711px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215115i4CD187821BD5D1A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-12-16 at 11.24.01 PM.png" alt="Workflow" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Workflow&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Iterative macro" style="width: 691px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215114i54BD3758C78512F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-12-16 at 11.24.35 PM.png" alt="Iterative macro" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Iterative macro&lt;/span&gt;&lt;/span&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Fri, 17 Dec 2021 08:03:31 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881339#M5419</guid>
      <dc:creator>clmc9601</dc:creator>
      <dc:date>2021-12-17T08:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 17 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881570#M5421</link>
      <description>&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="workflow" style="width: 847px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215199i32A90D5F2846B355/image-size/large?v=v2&amp;amp;px=999" role="button" title="17 - 1.png" alt="workflow" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;workflow&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Inner" style="width: 715px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215200i15B1E109969454F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="17 - 2.png" alt="Inner" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Inner&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Outer" style="width: 957px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215201iB7B7FB58F777CF8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="17 - 3.png" alt="Outer" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Outer&lt;/span&gt;&lt;/span&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;Finally a more relaxed one.&lt;/P&gt;&lt;P&gt;Part 1 can be done use the knowledge for projectile motion, mins y for me is -248, so the downward max velocity should be -247 at returning to y = 0. Then just a arithmetic sum to go up to find max height.&lt;/P&gt;&lt;P&gt;Part 2 is brute force to run through all combination. Inner macro calculates the trajectory for a given starting velocity up to boundary condition. Then outer macro filter the ones reaches the target. ~ 8mins runtime.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 17:59:42 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881570#M5421</guid>
      <dc:creator>leozhang2work</dc:creator>
      <dc:date>2021-12-17T17:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 17 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881671#M5424</link>
      <description>&lt;P&gt;Nice to have an easier day following some recent tougher days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Got a solution but not super keen on it as it relies on hardcoding values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;Main workflow&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgoodman3_0-1639780742598.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215246iBE12236728871100/image-size/large?v=v2&amp;amp;px=999" role="button" title="cgoodman3_0-1639780742598.png" alt="cgoodman3_0-1639780742598.png" /&gt;&lt;/span&gt;&lt;P&gt;I used generate rows, for positive y velocities I was able to easily extend the input from part 1, as only x velocities in the range 11 : 14 were possible, then for the negative y velocities knew you could get direct hits with the the velocities matching the x,y position, so it was a case of working back from there and finding the valid rectangles that worked. I was able to work out that there wasn't going to be anything in a particular range so was able to narrow down significantly the number of velocities to try. I could have worked out what would be valid but it was quicker just to leave the workflow running on the reduced set. Converting the velocities to x,y spatial points and you get a nice plot of all the possible valid points after 1 iteration.&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgoodman3_1-1639781083645.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215247i4B7315A3CA1E4793/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cgoodman3_1-1639781083645.png" alt="cgoodman3_1-1639781083645.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;In terms of the mechanics, a batch macro to pass each velocity in one by one.&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgoodman3_2-1639781169526.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215248i2AD1F692AE680D62/image-size/large?v=v2&amp;amp;px=999" role="button" title="cgoodman3_2-1639781169526.png" alt="cgoodman3_2-1639781169526.png" /&gt;&lt;/span&gt;&lt;P&gt;&lt;BR /&gt;And an iterative macro for calculating the points&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cgoodman3_3-1639781217545.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215249i1E8164E382AFC7E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="cgoodman3_3-1639781217545.png" alt="cgoodman3_3-1639781217545.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Fri, 17 Dec 2021 22:47:18 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881671#M5424</guid>
      <dc:creator>cgoodman</dc:creator>
      <dc:date>2021-12-17T22:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 17 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881681#M5425</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;Took quite some time with pen and paper to understand the going up and down (and finding the n(n+1)/2 sequence again).&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dsmdavid_0-1639782499024.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215251i232EEDD3BF22FCC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="dsmdavid_0-1639782499024.png" alt="dsmdavid_0-1639782499024.png" /&gt;&lt;/span&gt;The iterative could be replaced with a generate rows, but didn't think it's worth it as it takes just 2 sec to run.&lt;BR /&gt;The limits for the rows --&lt;BR /&gt;X: initial velocity must be at least 1 --otherwise the probe just drops--**, and at most Xmax;&lt;BR /&gt;Y: initial velocity must be at least ymin (and it reaches to the bottom of the target area in 1 step) or at most -ymin (and it goes up, up, up, down, down, down, and reaches the bottom of the target area one turn after going through y=0)&lt;BR /&gt;**could be better narrowed down based on the minimum speed needed to reach Xmin and stop there, but it just adds a few rows.&lt;BR /&gt;&lt;BR /&gt;Then just update every iteration the velocity and position, discard anything that is outside of viable trajectories (e.g. too far away already), output anything inside the target area and keep running the rest&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dsmdavid_1-1639782526033.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215252iCE71F506F1C4869B/image-size/large?v=v2&amp;amp;px=999" role="button" title="dsmdavid_1-1639782526033.png" alt="dsmdavid_1-1639782526033.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&lt;A href="https://github.com/dsmdavid/AdventCode2021" target="_blank" rel="noopener"&gt;https://github.com/dsmdavid/AdventCode2021&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 23:57:25 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881681#M5425</guid>
      <dc:creator>dsmdavid</dc:creator>
      <dc:date>2021-12-17T23:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 17 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881706#M5428</link>
      <description>&lt;P&gt;Trying to get back in the game! A few days behind, but this one was fun, and quite pleased to find a macro-less way to do this! Runs in 1 second too!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;Generate Rows tool is the true hero in this one.&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NicoleJohnson_0-1639792482910.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215265i0B2388D509B00B91/image-size/large?v=v2&amp;amp;px=999" role="button" title="NicoleJohnson_0-1639792482910.png" alt="NicoleJohnson_0-1639792482910.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;NJ&lt;/P&gt;</description>
      <pubDate>Sat, 18 Dec 2021 01:55:42 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881706#M5428</guid>
      <dc:creator>NicoleJohnson</dc:creator>
      <dc:date>2021-12-18T01:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 17 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881732#M5430</link>
      <description>&lt;P&gt;This is brute forth... but my workflow finish around 30 seconds for Start1 and 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AkimasaKajitani_0-1639812534906.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215278iBDB094B4762DFF0E/image-size/large?v=v2&amp;amp;px=999" role="button" title="AkimasaKajitani_0-1639812534906.png" alt="AkimasaKajitani_0-1639812534906.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;Git Hub&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/AkimasaKajitani/AdventOfCode/tree/main/2021" target="_blank"&gt;https://github.com/AkimasaKajitani/AdventOfCode/tree/main/2021&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Dec 2021 07:29:51 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881732#M5430</guid>
      <dc:creator>AkimasaKajitani</dc:creator>
      <dc:date>2021-12-18T07:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 17 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881741#M5432</link>
      <description>&lt;P&gt;All Generate Row tool version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;Day17_type2.yxmd&lt;BR /&gt;&lt;BR /&gt;It works efficiently because the Generate Row tool makes less records than previous workflow. So it takes a few seconds to finish.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AkimasaKajitani_0-1639815632089.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215282i46A8ACCFAD263E14/image-size/large?v=v2&amp;amp;px=999" role="button" title="AkimasaKajitani_0-1639815632089.png" alt="AkimasaKajitani_0-1639815632089.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;Git Hub&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/AkimasaKajitani/AdventOfCode/tree/main/2021" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/AkimasaKajitani/AdventOfCode/tree/main/2021&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Dec 2021 08:29:16 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881741#M5432</guid>
      <dc:creator>AkimasaKajitani</dc:creator>
      <dc:date>2021-12-18T08:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 17 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881858#M5438</link>
      <description>&lt;P&gt;Mine is not efficient in any way, but I got to the answers (and solved parts 1 and 2 with the same workflow). If I have the energy, I'd like to make it run in under 5 minutes, but I've got too many rows generating at the moment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Dec 2021 16:36:59 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/881858#M5438</guid>
      <dc:creator>estherb47</dc:creator>
      <dc:date>2021-12-19T16:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 17 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/882395#M5453</link>
      <description>&lt;P&gt;My solution was very similar to&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/3824"&gt;@NicoleJohnson&lt;/a&gt;&amp;nbsp;- ran in 7.2 sec on my laptop with AMP turned on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;Rather than trying to find every combination of Vx and Vy - the fact that that they are independant means that you can narrow the search space substantially by:&lt;BR /&gt;- Search for all values of Vx that get you into the target zone&lt;BR /&gt;- Do the same for Vy&lt;BR /&gt;- Only now look at combinations - much smaller search space.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SeanAdams_0-1640053967939.png" style="width: 663px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/215520i2B1281186B7B3B4E/image-dimensions/663x241?v=v2" width="663" height="241" role="button" title="SeanAdams_0-1640053967939.png" alt="SeanAdams_0-1640053967939.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Tue, 21 Dec 2021 02:34:30 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/882395#M5453</guid>
      <dc:creator>SeanAdams</dc:creator>
      <dc:date>2021-12-21T02:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Advent of Code 2021 Day 17 (BaseA Style)</title>
      <link>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/888227#M5565</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/18848"&gt;@dsmdavid&lt;/a&gt;&amp;nbsp;for the quick way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;overall the idea is similar as i refer to them&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;.&lt;BR /&gt;&lt;BR /&gt;but once i get the answer, and i realise macro will save more time.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As brute force may have lot of waste calculation, Mass Steps, Mass Initial X and Initial Y.&lt;BR /&gt;like target X and initial x are 200. it only need to calculate for 1 step, but due to brute force. it calculate 100x useless calculation.&lt;BR /&gt;like target Y is -155, it need to stop if Y is pass that location. and same, brute force,&amp;nbsp;it calculate lots of useless calculation.&lt;BR /&gt;&lt;BR /&gt;with iteration macro. both situation can avoid and run the workflow faster.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pang_Hee_Choy_0-1641549774833.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/217692i77A685DFE1241598/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pang_Hee_Choy_0-1641549774833.png" alt="Pang_Hee_Choy_0-1641549774833.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pang_Hee_Choy_1-1641549787280.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/217693i657DD95A33688B5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pang_Hee_Choy_1-1641549787280.png" alt="Pang_Hee_Choy_1-1641549787280.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Fri, 07 Jan 2022 10:07:47 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/General-Discussions/Advent-of-Code-2021-Day-17-BaseA-Style/m-p/888227#M5565</guid>
      <dc:creator>AncientPandaman</dc:creator>
      <dc:date>2022-01-07T10:07:47Z</dc:date>
    </item>
  </channel>
</rss>

