Skip to content

Files

Latest commit

4bb2ce4 · Feb 17, 2025

History

History
91 lines (68 loc) · 15.2 KB

README.md

File metadata and controls

91 lines (68 loc) · 15.2 KB

GistMaster

GitHub Workflow Status GitHub commits GitHub contributors Coverage Status GitHub issues GitHub last commit GitHub language count License GitHub pull requests

GistMaster, a catalogue for your gists

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.

Table of Contents

About

👋 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.

Quick Start

🚀 For detailed installation and setup instructions, please refer to the Installation Guide.

Contributing

🤝 Contributions are welcome! Please read the Contributing Guidelines and Code of Conduct.

License

📜 This project is licensed under the terms of the GPL-3.0 license.

Contact

📧 For any questions, feel free to contact me via my GitHub profile.

Gists

Gist Description Language(s) Creation date Last updated
1 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
2 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
3 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
4 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
5 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
6 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
7 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
8 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
9 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
10 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
11 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
12 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
13 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
14 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
15 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
16 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
17 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
18 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
19 Cassidy's interview question of the week: a function that reverses the names in a list and puts them in alphabetical order! Python 2024-12-02 2024-12-02
20 Cassidy's interview question of the week: a function that finds the maximum number of gifts that can be wrapped using a single strip of wrapping paper of a given width Python 2024-12-10 2024-12-10
21 Cassidy's interview question of the week: a white elephant gift exchange class that simulates the game. It generates a sequence of random but valid gift-opening and gift-stealing moves for n participants, tracks steal counts and frozen gifts, and ends the game when everyone has a gift. Python 2024-12-16 2024-12-16
22 Cassidy's interview question of the week: a function to determine how many trailing zeros are in n!. Python 2024-12-24 2024-12-24
23 Cassidy's interview question of the week: given a year, a script that determines weekdays and dates for US holidays (New Year's, Easter, Memorial Day, Independence Day, Thanksgiving, Christmas) Python 2025-01-02 2025-01-06
24 Cassidy's interview question of the week: a function that generates all possible permutations of a given string Python 2025-01-06 2025-01-06
25 Cassidy's interview question of the week: a translation function for the NATO phonetic alphabet Python 2025-01-16 2025-01-16
26 Cassidy's interview question of the week: a function that finds the longest subsequence where the difference between consecutive elements is either 1 or -1 Python 2025-01-20 2025-01-20
27 Cassidoo's interview question of the week: given two strings, s and p, return an array of all the start indices of p's anagrams in s. Python 2025-01-27 2025-01-27
28 Cassidy's interview question of the week: a function that evaluates a postfix expression (also known as Reverse Polish Notation) and returns the result Python 2025-02-03 2025-02-03
29 Cassidy's interview question of the week: a function that returns a list of numbers that an NFL player can choose from for their uniform, given the player's position, and an array of existing numbers on the team Python 2025-02-10 2025-02-10
30 Cassidy's interview question of the week: a function that, given an array of attack damages and a shield capacity for a spaceship, returns the index when cumulative damage exceeds the shield Python 2025-02-17 2025-02-17