> LeetCode Problem - Link [https://leetcode.com/problems/final-value-of-variable-after-performing-operations/description/]
PROBLEM
There is a programming language with only four operations and one variable X:
* ++X and X++ increments...
> LeetCode Problem - Link
> [https://leetcode.com/problems/find-minimum-operations-to-make-all-elements-divisible-by-three/description/]
PROBLEM
You are given an integer array nums. In one operation, you can add or subtract 1 from any element of nums.
Return the minimum...
> LeetCode Problem - Link [https://leetcode.com/problems/permutation-difference-between-two-strings/description/]
PROBLEM
Given a zero-based permutation nums (0-indexed), build an array ans of the same length where ans[i] = nums[nums[i]] ...
> LeetCode Problem - Link [https://leetcode.com/problems/concatenation-of-array/description/]
PROBLEM
Given an integer array nums of length n, you want to create an array ans of length 2n where ans[i] == nums[i] and ans[i + n] ==
nums[i] for 0 <= i < n (...
ADDING A HITSTOP SINGLETON/AUTOLOAD TO YOUR GODOT PROJECT
Here's my basic code for a Hitstop implementation, I usually put it up as a singleton/autoload node in my project so it can be
called from anywhere globally.
extends Node2D
var original_timescale = 1.0
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with f...
This is an index page for the devlogs/documentation for a game called Kamikaze Kittens that I'm currently building. I use this
page to refer to notes and documentation about the game.
GAME DOCS
DEV LOGS
1. Kamikaze Kit [https://awelgorithms.com/post/1-kamikaze-kittens-devlog-1-better-muzzle-flashes4691]...
> LeetCode Problem - Link [https://leetcode.com/problems/permutation-difference-between-two-strings/description/]
PROBLEM
You are given two strings s and t such that every character occurs at most once in s and t is a permutation of s.
The permutation difference...
> LeetCode Problem - Link [https://leetcode.com/problems/find-the-number-of-good-pairs-i/]
PROBLEM
You are given 2 integer arrays nums1 and nums2 of lengths n and m respectively. You are also given a positive integer k.
A pair (i, j) ...
> LeetCode Problem - Link [https://leetcode.com/problems/minimum-number-of-chairs-in-a-waiting-room/description/]
PROBLEM
You are given a string s. Simulate events at each second i:
* If s[i] == 'E', a person enters the waiting room and takes one of the chairs in it.
* If s[i] == 'L', a...
> LeetCode Problem - Link [https://leetcode.com/problems/faulty-keyboard/description/]
PROBLEM
Your laptop keyboard is faulty, and whenever you type a character 'i' on it, it reverses the string that you have written. Typing
other characters works as expected.
You are given a 0-indexed...