---
title: "Kenny Carneal (@Frawsty) | Hashnode"
description: "Christ follower, rollerblader, gamer, developer. Read the latest articles by Kenny Carneal on Hashnode."
url: "https://hashnode.com/@Frawsty"
---

@Frawsty

# Kenny Carneal

@Frawsty · Nashville, Tennessee · Joined November 2023

Christ follower, rollerblader, gamer, developer

[Website](https://www.kennycarneal.com/)

### [Leetcode 2486. Append Characters to String to Make Subsequence](https://blog.kennycarneal.com/leetcode-2486-append-characters-to-string-to-make-subsequence?utm_source=hashnode&utm_medium=feed)

Intuition Get the length of the subsequence (if any) and subtract it from the length of t to find out how many characters we have to append (if any) Approach Keep a count of the length of the subsequence while iterating through s and then subtract th...

1 min read · [blog.kennycarneal.com](https://blog.kennycarneal.com/leetcode-2486-append-characters-to-string-to-make-subsequence?utm_source=hashnode&utm_medium=feed)

[Jun 3, 2024](https://hashnode.com/posts/leetcode-2486-append-characters-to-string-to-make-subsequence/665deeb086152c28765e5864)

### [Leetcode 2441. Largest Positive Integer That Exists With It's Negative](https://blog.kennycarneal.com/leetcode-2441-largest-positive-integer-that-exists-with-its-negative?utm_source=hashnode&utm_medium=feed)

Intuition Sort the array and check if the start and end of the array match. If not, increment or decrement accordingly. Approach First sort the array. Then use two pointers. One at the beginning, the other at the end. Check to see if the value at the...

1 min read · [blog.kennycarneal.com](https://blog.kennycarneal.com/leetcode-2441-largest-positive-integer-that-exists-with-its-negative?utm_source=hashnode&utm_medium=feed)

[May 3, 2024](https://hashnode.com/posts/leetcode-2441-largest-positive-integer-that-exists-with-its-negative/6635146022a53cf373f3b91f)

### [Leetcode 2000 Reverse Prefix of Word](https://blog.kennycarneal.com/leetcode-2000-reverse-prefix-of-word?utm_source=hashnode&utm_medium=feed)

Intuition Find position of ch (if any) then use two pointers to swap characters until string is reveresed from beginning to index of ch Approach Start by checking each character for ch. If we find it, that's where our right pointer will start. Our le...

1 min read · [blog.kennycarneal.com](https://blog.kennycarneal.com/leetcode-2000-reverse-prefix-of-word?utm_source=hashnode&utm_medium=feed)

[May 1, 2024](https://hashnode.com/posts/leetcode-2000-reverse-prefix-of-word/66319543cd4ea888ff1f8202)

### [Leetcode 1544. Make String Great](https://blog.kennycarneal.com/leetcode-1544-make-string-great?utm_source=hashnode&utm_medium=feed)

Intuition Use two pointers to iterate through the string checking each adjacent character to see if it is "bad" or "good". Approach First if the string is 1 or fewer characters we know it is good so we can just return it. If that's not the case, we c...

2 min read · [blog.kennycarneal.com](https://blog.kennycarneal.com/leetcode-1544-make-string-great?utm_source=hashnode&utm_medium=feed)

[Apr 5, 2024](https://hashnode.com/posts/leetcode-1544-make-string-great/66103da0cf2384773ca3236a)

### [Leetcode 2540. Minimum Common Value](https://blog.kennycarneal.com/leetcode-2540-minimum-common-value?utm_source=hashnode&utm_medium=feed)

Intuition Since both arrays are sorted, we can find the minimum common value by iterating from left to right with two pointers. Approach Initialize both pointers to 0 to start at the beginning of the array. While both pointers are within bounds of th...

2 min read · [blog.kennycarneal.com](https://blog.kennycarneal.com/leetcode-2540-minimum-common-value?utm_source=hashnode&utm_medium=feed)

[Mar 9, 2024](https://hashnode.com/posts/leetcode-2540-minimum-common-value/65ec87cc04713cf000d1a158)
