Welcome to GistMaster, your self-updating catalogue for Github Gists!
This repository compiles my Gists automatically using Github Actions, keeping them organised in a well-structured and easy-to-browse format.
👉 Check my Gists below to explore various code samples.
🧑💻 If you like this, you can create your own catalogue! The project is designed to be easily reused by other Github users with minimal configuration, as explained in the Quick Start guide.
👋 I'm @rjvitorino, and my open-source contributions are available on my Github profile. In this repository, you will find solutions to various interview questions, coding challenges, and random snippets and scripts I've created. These gists are automatically fetched and updated using Github Actions and can be set up for your profile as well.
👉 Explore my Gists below to see my work and discover useful code samples.
🚀 For detailed installation and setup instructions, please refer to the Installation Guide.
🤝 Contributions are welcome! Please read the Contributing Guidelines and Code of Conduct.
📜 This project is licensed under the terms of the GPL-3.0 license.
📧 For any questions, feel free to contact me via my GitHub profile.
Gist | Description | Language(s) | Creation date | Last updated |
---|---|---|---|---|
1 | Cassidoo's interview question of the week: a function that takes an array of integers and returns a new array containing only the even numbers, and sorted. | Python | 2024-06-03 | 2024-07-13 |
2 | Cassidoo's interview question of the week: a function that takes an array of integers and a target sum, and returns all unique quadruplets [a, b, c, d] in the array such that a + b + c + d = target | Python | 2024-06-10 | 2024-07-13 |
3 | Cassidoo's interview question of the week: a function that takes a list of names and returns the names sorted by the number of vowels in each name in descending order. If two names have the same number of vowels, sort them alphabetically. | Python | 2024-06-17 | 2024-07-13 |
4 | Cassidy's interview question of the week (20240401 - April fools!): Given an array of numbers, add all of the values together but only if the number does not repeat a digit. | Python | 2024-06-19 | 2024-07-13 |
5 | Cassidoo's interview question of the week: a function that takes an array of daily temperatures and returns an array where each element is the number of days you would have to wait until a warmer temperature. If there is no future day for which this is possible, put 0 instead. | Python | 2024-06-24 | 2024-10-08 |
6 | Cassidoo's interview question of the week: a FruitStand class that allows you to add different types of fruits with their quantities and prices, update them, and calculate the total value of all the fruits in the stand. | Python | 2024-07-01 | 2024-10-08 |
7 | Cassidoo's interview question of the week: a function that takes an array of integers representing the number of flowers planted in a line, and an integer k representing the number of additional flowers you want to plant. Return whether it's possible to plant all k flowers without planting any two flowers adjacent to each other. | Python | 2024-07-08 | 2024-07-13 |
8 | Cassidoo's interview question of the week: a function that given an integer array nums, return the length of the longest increasing subsequence. | Python | 2024-07-15 | 2024-07-15 |
9 | Cassidoo's interview question of the week: a function that given a string s and a list of words word_dict, determine if s can be segmented into the space-separated sequence of all the dictionary words. | Python | 2024-07-24 | 2024-10-08 |
10 | Cassidoo's interview question of the week: a function that converts between metric and imperial units, breaking up the units into millimeters, centimeters, and meters for metric, and into inches and feet for imperial, up to 2 decimal places. | Python | 2024-07-29 | 2024-07-29 |
11 | Cassidoo's interview question of the week: a function that should take one argument n, a positive integer, and return the sum of all squared positive integers between 1 and n, inclusive. | Python | 2024-08-05 | 2024-08-05 |
12 | Cassidoo's interview question of the week: a function that given an array of logs and variable assignments, return a list of all unused variables. | Python | 2024-08-12 | 2024-10-08 |
13 | Cassidoo's interview question of the week: a function that given an array of logs, where each log consists of a function name, a timestamp, and an event (either start or end), returns the total execution time for each function | Python | 2024-08-19 | 2024-10-08 |
14 | Cassidy's interview question of the week: a function that finds the longest substring in the input string s where the number of distinct letters equals the number of distinct digits |
Python | 2024-08-26 | 2024-08-26 |
15 | Cassidy's interview question of the week: a function to calculate the maximum number of matching shoe pairs in an array of strings | Python | 2024-09-03 | 2024-09-03 |
16 | Cassidy's interview question of the week: a function to calculate the minimum number of rows required to seat everyone such that no group is split | Python | 2024-09-09 | 2024-09-09 |
17 | Cassidy's interview question of the week: a function to determine the number of unique ways an American Football team can achieve exactly n points | Python | 2024-09-16 | 2024-09-16 |
18 | Cassidy's interview question of the week: a function to sort laundry items into the minimum number of loads, where items of the same colour can be washed together, and some different fabric types cannot be mixed together | Python | 2024-09-23 | 2024-09-23 |
19 | Cassidy's interview question of the week: implementation of String split() function in my preferred programming language (Python) | Python | 2024-10-02 | 2024-10-08 |
20 | Cassidy's interview question of the week: a function that, given a list of ingredients needed for a recipe (represented as strings), and a list of ingredients available in the pantry, returns the minimum number of additional ingredients one needs to buy to make the recipe | Python | 2024-10-08 | 2024-10-08 |
21 | Cassidoo's interview question of the week: a function that generates a valid SVG string for a circle given its radius, center position, and color. | Python | 2024-10-20 | 2024-10-20 |
22 | Cassidoo's interview question of the week: a function that takes in an RSS feed URL, and returns the title of and link to the the original feed source | Python | 2024-10-25 | 2024-10-25 |
23 | Cassidoo's interview question of the week: a function that implements a round of the game Yahtzee, where 5 dice are randomly rolled, and the function returns what options the user has to score more than 0 points. | Python | 2024-10-31 | 2024-11-04 |
24 | Cassidoo's interview question of the week: a function that given an array of strings, groups the anagrams together. | Python | 2024-11-04 | 2024-11-04 |
25 | Cassidoo's interview question of the week: a function that given a list of integers representing the heights of buildings, returns the maximum number of buildings that can be seen when looking from the left. | Python | 2024-11-11 | 2024-11-11 |
26 | Cassidy's interview question of the week: a function that determines the maximum profit one can achieve by buying and selling stock once, given an array of integers representing the stock prices of a company in chronological order | Python | 2024-11-19 | 2024-11-19 |