diff --git a/career focus/cf_questions.md b/career focus/cf_questions.md new file mode 100644 index 0000000..e7e6a69 --- /dev/null +++ b/career focus/cf_questions.md @@ -0,0 +1,62 @@ +# Interests, Skills, Values + +1. What led you to pursue a career in tech? + - I've always been interested in tinkering with computers and what they can do. +2. What aspects of tech excite you (e.g., frontend development, cloud computing, cybersecurity, AI) + - Software development in general is a fun subject for me, I've done frontend, backend, game dev, and other things. +3. What types of projects have you enjoyed the most in your education/work experience? + - The notification server I've been writing in Rust. +4. What technical and soft skills do you excel at? + - Git/VCS, SQL, Rust, JS/TS +5. Which aspects of problem-solving excite you the most? + - Any parts. I love the full process from learning about the problem to charting a valid solution +6. Do you prefer frontend, backend, full-stack, or data-related roles? + - On System (App developemnt) or Full-Stack +7. What are your strengths based on past feedback from instructors or peers? + - Great problem solver, fast learner +8. Are you more inclined toward individual contributor, team lead, project management roles? + - Individual contributor or team lead. I've done work as both for open source projects and I don't generally have an opinion on either. +9. Do you enjoy working independently, in small teams, or large teams? + - Independently or Small Teams +10. What kind of impact do you want my work to have? + - I'm unsure +11. What values are important for you as you consider your tech career? (e.g., compensation, diversity, sustainability, transparency) + - transparency. I'm a big advocate of Open Source and Source Available software. + + +# Work Environment & Company Preferences + +12. Do you prefer working in a startup, a large corporation, or a mid-sized company? + - Not much preference here. +13. Do you want to work remotely, in-office, or in a hybrid setup? + - Remotely or Hybrid +14. What kind of work culture and values align with you? + - +15. Do you prefer structured environments or fast-paced, adaptable settings? + - Either, I may lean closer to fast-pace and adaptable settings however. +16. What industries interest you the most (e.g., finance, healthcare, entertainment, education)? + - +17. How important is mentorship and professional development in your job search? + - +18. What type of work-life balance do you need? + - I thoroughly enjoy programming. I wouldn't mind doing it for work and for fun +19. Are you open to relocating for the right job? + - Maybe + + +# Career Goals & Market Demand + +20. What are your short-term and long-term career goals? + - +21. What job roles currently have the most demand in the industry? + - I most commonly see webdev roles +22. Which companies or industries are hiring for your current/future skill set? + - +23. What skills or certifications will make you more competitive? + - +24. What salary range aligns with your skills and experience level? + - ~50-70k (?) +25. What kind of career growth and advancement opportunities are you looking for? + - +26. How can you position yourself uniquely among other job seekers? + - Showcase all my work on FOSS diff --git a/python/oct1/level1/areMultiples.py b/python/oct1/level1/areMultiples.py new file mode 100644 index 0000000..8151c66 --- /dev/null +++ b/python/oct1/level1/areMultiples.py @@ -0,0 +1,20 @@ +def areMultiples(x: int, y: int) -> bool: + """Return True if x and y are multiples of each other, False otherwise.""" + if x == 0 or y == 0: + return True + return (not y % x) or (not x % y) + + +print("Testing areMultiples()...", end="") +assert areMultiples(2, 4) == True # 4 is a multiple of 2 +assert areMultiples(400, 200) == True # 400 is a multiple of 200 +assert areMultiples(0, 100) == True # 0 is a multiple of 100 +assert areMultiples(123, 0) == True # 0 is a multiple of 123 +assert areMultiples(888, 888) == True # 888 is a multiple of itself +assert areMultiples(-50, 100) == True # 100 is a multiple of -50 +assert areMultiples(50, -100) == True # -100 is a multiple of 50 +assert areMultiples(-50, -100) == True # -100 is a multiple of -50 +assert areMultiples(400, 250) == False +assert areMultiples(3, 100) == False +assert areMultiples(-3, 100) == False +print("Passed!") diff --git a/python/oct1/level1/fizzBuzz.py b/python/oct1/level1/fizzBuzz.py new file mode 100644 index 0000000..bb3678b --- /dev/null +++ b/python/oct1/level1/fizzBuzz.py @@ -0,0 +1,30 @@ +def fizzBuzz(n: int) -> str | int: + """Return the fizzbuzz string for n.""" + str = "" + if n % 3 == 0: + str += "fizz" + if n % 5 == 0: + b = "" + if len(str): + b = "B" + else: + b = "b" + str += f"{b}uzz" + return str or n + + +print("Testing fizzBuzz()...", end="") +assert fizzBuzz(21) == "fizz" +assert fizzBuzz(25) == "buzz" +assert fizzBuzz(30) == "fizzBuzz" +assert fizzBuzz(31) == 31 + +# should work for negatives: +assert fizzBuzz(-240) == "fizzBuzz" +assert fizzBuzz(-245) == "buzz" +assert fizzBuzz(-246) == "fizz" +assert fizzBuzz(-247) == -247 + +# and 0 (which is a multiple of 3 and a multiple of 5): +assert fizzBuzz(0) == "fizzBuzz" +print("Passed!") diff --git a/python/oct1/level1/isLeapYear.py b/python/oct1/level1/isLeapYear.py new file mode 100644 index 0000000..8daea6d --- /dev/null +++ b/python/oct1/level1/isLeapYear.py @@ -0,0 +1,17 @@ +def isLeapYear(year: int) -> bool: + """Return True if year is a leap year, False otherwise.""" + if year <= 0: + return False + # 4 years v 400 years v not 100 years v + return not (year % 4 or (year % 400 and not year % 100)) + + +print("Testing isLeapYear()...", end="") +assert isLeapYear(2024) == True +assert isLeapYear(2023) == False +assert isLeapYear(2020) == True +assert isLeapYear(1900) == False # divisible by 100 but not by 400 +assert isLeapYear(2000) == True # divisible by 100 but also by 400 +assert isLeapYear(-2024) == False # non-positive years are not leap years +assert isLeapYear(0) == False # non-positive years are not leap years +print("Passed!") diff --git a/python/oct1/level1/isLegalTriangle.py b/python/oct1/level1/isLegalTriangle.py new file mode 100644 index 0000000..f90f128 --- /dev/null +++ b/python/oct1/level1/isLegalTriangle.py @@ -0,0 +1,15 @@ +def isLegalTriangle(s1: float, s2: float, s3: float) -> bool: + """Return True if s1, s2, and s3 can form a legal triangle, False otherwise.""" + return s1 + s2 > s3 and s2 + s3 > s1 and s3 + s1 > s2 + + +print("Testing isLegalTriangle()...", end="") +assert isLegalTriangle(8, 6, 7) == True +assert isLegalTriangle(3.0, 4.0, 5) == True +assert isLegalTriangle(4, 2, 3) == True +assert isLegalTriangle(2, 4, 3) == True +assert isLegalTriangle(2, 3, 5) == False +assert isLegalTriangle(0, 1, 2) == False +assert isLegalTriangle(-1, -2.0, -5) == False +assert isLegalTriangle(2, 2, 9) == False +print("Passed!") diff --git a/python/oct1/level1/isOdd.py b/python/oct1/level1/isOdd.py new file mode 100644 index 0000000..676f637 --- /dev/null +++ b/python/oct1/level1/isOdd.py @@ -0,0 +1,14 @@ +def isOdd(n: int) -> bool: + """Return True if n is odd, False otherwise.""" + return not n % 2 == 0 + + +print("Testing isOdd()...", end="") +assert isOdd(123) == True +assert isOdd(124) == False +assert isOdd(1) == True +assert isOdd(0) == False +assert isOdd(-123) == True +assert isOdd(-124) == False +assert isOdd(-1) == True +print("Passed!") diff --git a/python/sep30/level4/blendColors.py b/python/sep30/level4/blendColors.py index fff6c3d..cf7cfed 100644 --- a/python/sep30/level4/blendColors.py +++ b/python/sep30/level4/blendColors.py @@ -8,7 +8,10 @@ def blend(c1: int, c2: int) -> int: def splitColors(rgb: int) -> tuple[int, int, int]: """Split an RGB value into its components.""" - (r, g, b) = [int(str(rgb).zfill(3*COMPONENT_LENGTH)[i : i + COMPONENT_LENGTH]) for i in range(0, 3*COMPONENT_LENGTH, COMPONENT_LENGTH)] + (r, g, b) = [ + int(str(rgb).zfill(3 * COMPONENT_LENGTH)[i : i + COMPONENT_LENGTH]) + for i in range(0, 3 * COMPONENT_LENGTH, COMPONENT_LENGTH) + ] return (r, g, b)