| Barcelona | Notes |
|---|
This week's challegnes and peer feedback has reaffirmed that I need to contiune practicing my "raw" ruby coding. I am confidant in my code analization and errorlog debuging skills but this week proved that I need more plain ole coding time. As my gist notes below show, I was able to undersand and pesudocode the given problems. When it came time to implementing my ideas in actual code, I was not successful in the given time.
I will contiune to practice and refine my ruby coding skills by making use of the other examples on the tech_challenges/prompts and use HackerRank to find other examples.
Next week I have a job interview and the takehome challenge. I have scheduled an hour on my calendar each morning before standup to working on coding challenges.
Write a method that takes two parameters, payload and target. The playload should be an array or unique integer values(positive, negative, or 0). The target should be an integer(positive, negative, or 0).Your method/function should search through the payload to find any two numbers that add together to equal the target value.
When you find a pair of numbers that add up to your target value, you can stop processing/searching and return an array of those two values. If no values are found return an empty array.
Be careful that you don’t find the same number twice in your payload; for example if your payload contains a 4 and your target is 8, your answer should not indicate that it found 4 twice.
find_target([1, 3, 4, 5, 10], 15)
In this challenge, you are working with a computer simulation of a mobile robot. The robot moves on a plane, and its movements are described by a command string consisting of one or more of the following letters:
G instructs the robot to move forward one step L instructs the robot to turn left R instructs the robot to turn right The robot CANNOT go backwards - poor robot. After running all of the movement commands, you want to know if the robot returns to its original starting location.
n this challenge you are given a menu and a list of receipt values. Write a method/function to find the first combination of food that adds up to the receipt total. Return a print out of only one combination for that receipt, and move on to the next receipt. How the print out looks is up to you, but here are some examples:
#Example 1
4.85:
3 items, extra veggies, chips, cheese
#Example 2
13.75:
3 items, {'veggie sandwich': 1, 'nachos': 2}
| Get /api/v1/user_meetings?params= email: email@email.com | |
| { | |
| "data": [ | |
| { | |
| "id": "1", | |
| "type": "meeting", | |
| "attributes": { | |
| "host_name": "john", | |
| "guest_name": "max", | |
| "location_name": "A great place", |
api/v1/search { "results": [ { "address_components": [ { "long_name": "2300", "short_name": "2300", "types": [ "street_number"
Answer these Check for Understanding questions as you work through the assignments.
- What is HTML? Hyper Text Markup Language: The standard markup language for documents designed to be displayed in a web browser.
- What is an HTML element? Defined by a start tag, some content and an end tag. An example is
<h1>My First Heading</h1>Another example is<body> ... </body> - What is an HTML attribute? Provide additional information about HTML elements, come in name/value paires like
name="value" - What is the difference between a class and an id? When would you use one vs. the other? Multiple HTML elements can have the same class, while id is unique to an element. Id is used to point to a specfic style declaration in a style sheet.
To make a copy of this rubric:
- Click the button in the upper right-hand corner that says Fork. This is now your copy of the document.
- To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.
- I named my directories correctly.