Vincent YangCheck if a string can be rearranged into a palindromeThis question has come up a few times during technical interviews, but revolves around a single algorithm that appears quite often…Mar 22, 2021Mar 22, 2021
Vincent YangAdvent of Code — Day 15 — JavascriptFor day 15, the problem is quite tricky as the order of operations is difficult to nail down.Mar 16, 2021Mar 16, 2021
Vincent YangAdvent of Code — Day 13 — JavascriptFor day 13, you are given an input that is two lines. The first line contains a number that represents a time. The second line contains a…Mar 9, 2021Mar 9, 2021
Vincent YangAdvent of Code — Day 12 — JavascriptFor day 12, you are given a set of direction and and you need to maintain the X and Y position from the origin. It also asks you to keep…Mar 1, 2021Mar 1, 2021
Vincent YangAdvent of Code — Javascript — Day 10For day 10, the explanation of the problem is a bit convoluted and can be simplified quite a bit. The input given is an unordered list of…Feb 22, 2021Feb 22, 2021
Vincent YangAdvent of Code — Day 9 — JavascriptFor day 9, you are given a list of numbers. Starting from 26th indexed number, every number indexed further down is the sum of two numbers…Feb 15, 2021Feb 15, 2021
Vincent YangAdvent of Code — Day 8 — JavascriptFor day 8, the input data is a stack of instructions. The stack of instructions, when followed properly, leads to an infinite loop. You…Feb 8, 2021Feb 8, 2021
Vincent YangAdvent Of Code — Day 7 — JavascriptToday’s puzzle is quite confusing on how to complete. If we take a look at the sample data:Feb 1, 2021Feb 1, 2021
Vincent YangAdvent of Code — Day 6 — JavascriptFor Day 6, you are given a string of characters that represent the answer “Yes” to a question labeled with a single character. There are…Jan 25, 2021Jan 25, 2021
Vincent YangAdvent of Code — Day 5 — JavascriptFor Day 5, you are asked to use parse through a string of 10 characters which point to a specific seat on a plane. The airplane has 128…Jan 18, 2021Jan 18, 2021