Skip to content

Instantly share code, notes, and snippets.

View FrenzyExists's full-sized avatar
🗿
<insert quote smart people use here>

Detective Pikachu FrenzyExists

🗿
<insert quote smart people use here>
View GitHub Profile
@FrenzyExists
FrenzyExists / personality_test.py
Created February 26, 2024 07:09
Personality Test Example
from time import sleep
import sys
QuestionBank = [
{
"question": "I prefer working independently rather than in a team.",
"pointer": ["INDEPENDENT", "TEAM_PLAYER"]
},
{
"question": "I am comfortable taking risks to achieve my career \
@FrenzyExists
FrenzyExists / DynamicFib.txt
Last active November 4, 2023 01:10
Recursive Fibbonaci Sequence using Dynamic Programming
#include <iostream>
#include <map>
std::map<int, int> dynoFib;
int fibRecursive(int n) {
if (n <= 2) {
return 1;
} else {
if(!dynoFib.count(n)) {
dynoFib[n] = fibRecursive(n - 1) + fibRecursive(n - 2);
@FrenzyExists
FrenzyExists / string-conversion.rs
Created October 27, 2021 00:24 — forked from jimmychu0807/string-conversion.rs
Conversion between String, str, Vec<u8>, Vec<char> in Rust
use std::str;
fn main() {
// -- FROM: vec of chars --
let src1: Vec<char> = vec!['j','{','"','i','m','m','y','"','}'];
// to String
let string1: String = src1.iter().collect::<String>();
// to str
let str1: &str = &src1.iter().collect::<String>();
// to vec of byte
@FrenzyExists
FrenzyExists / Commoplank.kbd.json
Last active January 30, 2023 00:57
Commoplank
[
{
"backcolor": "#2E3440",
"name": "Commoplank",
"author": "Pikachu",
"radii": "20px",
"switchMount": "cherry",
"switchBrand": "gateron",
"switchType": "KS-3-Red",
"plate": false