Skip to content

Instantly share code, notes, and snippets.

@amykarnaze
amykarnaze / roman numerals.md
Last active November 5, 2020 17:25
Mod 4 code challenge

Problem - Roman Numerals

Roman Numerals

Write a recursive function that converts an integer into a string such that the number is represented in Roman Numerals in the most efficient way.

For example, the number 4 could be written as IIII but it's more efficient to use IVsince that's a shorter string.

Assume no number is greater than 4,000.

Here are the Roman Numeral equivalents you'll need to know:

React Router Prework

This gist contains a short assignment I'd like everyone to complete before our formal lesson. The prework involves reading some of the React Router documentation, and will allow us to keep the lesson more hands on.

Instructions

  1. Fork this gist
  2. On your own copy, go through the listed readings and answer associated questions
  3. Comment a link to your forked copy on the original gist

Questions / Readings

layout title
page
Career Journal Template

Career Journal Template

Mod 3

Week 1: [Link here to your gist]

Please list the top 3-5 industries and companies you'll pursue in your job search as of right now. human trafficing: thorn Environmental: hydropods sunday amp robotics sproutrhouse growsquared American wildlife foundation?

What is a "data model", and how does it relate to the DOM in a front-end application? The data model is the code that is being run behind the scenes and the source of truth. It is stored information. It is not what updates the display of that information, which is the DOM. Document Object model is a programming interface that is hooked up to the data model and what you see on a webpage.

What is a "framework?" And how does it differ from a "library?" Frameworks and libraries are pre written code. Frameworks like react enable the ui to be updated with the changing data and have more structure than a library, which can be used at any time by the developer. Frameworks make calls to your code.

Why should we consider using a framework over vanilla JS like you have been doing in mods 1 and 2? A framework enables the ever changing data to always be displayed with the current information. Not using a framework is inefficient, lots of repetitive code that is susceptible to bugs. Frameworks allow for small isolated c

Template for DTR Memo
Project: Slap Jack
Group Member Names:
Solo
Goals and Expectations for the Project (What does each group member hope to get out of this project? What do we want to achieve as a team? How will we know that we're successful?):
Full, functional app!
Team strengths & collaboration styles (consider discussing your Pairin qualities here):
Abstract
In a few sentences, explain what the project was and the scope of your work. Imagine explaining your answer to a technical recruiter or a developer who you’d potentially be interviewing with who knows nothing about Turing.
RomCom was a project where a user can create random romance covers with a title and descriptors that are random as well. The user can create their own on a form with input and save any covers they choose.
Intention timer allows a user to choose a category, add a description for how they want to use that time, pick how long in minutes and seconds they want to perform their choice. After filling out this form they see a timer that shows the information that was created. The timer counts downs and the intention can be saved for future reference, after a page refresh.
Slapjack is a 2 player game that uses key events to determine if a player plays (deals a single card from their hand to the central pile) or slaps, which results in multiple win and lose conditons. Players switch turn

Describe one of your strengths

What is something you have learned to do well (list a skill)? Analyze self awareness

What is something you know about (list some knowledge/expertise you have)? Scientific inquiry

What is something you have a natural ability to do well (list a talent)?

Your goal in this kata is to implement a difference function, which subtracts one list from another and returns the result.
It should remove all values from list a, which are present in list b.
Problem 1:
arrayDiff([1,2],[1]) == [2]
If a value is present in b, all of its occurrences must be removed from the other:
arrayDiff([1,2,2,2,3],[2]) == [1,3]
DTR: Define the Relationship
Use this template when conducting DTR with your project partners. It's recommended that you copy/paste this template into your own gist each time you conduct a DTR to take notes on the conversation.
Guiding Questions to Define The Relationship:
What are each of our learning goals for this project? What drives us in this project?
What is your collaboration style? How do you feel about pair programming vs. divide-and-conquer approaches?
How do you communicate best? How do you appreciate receiving communication from others?
How would you describe your work style?
What are each of our strengths? How can our strengths complement each other?
What’s gone well or poorly in your previous projects?