Skip to content

Instantly share code, notes, and snippets.

View nicolegooden's full-sized avatar

Nicole Gooden nicolegooden

  • Colorado
View GitHub Profile
@nicolegooden
nicolegooden / Break_camelCase.md
Last active February 16, 2021 17:38
Codewars challenge with progression of solutions

Prompt

Complete the solution so that the function will break up camel casing, using a space between words.

Example: solution("camelCasing") == "camel Casing"

Pseudocode

  • input: string
  • output: string with spaces between lowercase and uppercase letters
  • methods: reduce()
@nicolegooden
nicolegooden / find_odd.md
Last active January 31, 2021 21:41
Codewars

REPL

https://repl.it/join/aczpcaoo-nicolegooden

Challenge

Given an array of integers, find the one that appears an odd number of times.

There will always be only one integer that appears an odd number of times.

@nicolegooden
nicolegooden / Big_O_Code_Challenge.md
Last active January 1, 2021 20:03
A Code Wars solution with a focus on optimization

Instructions

Define a function that takes one integer argument and returns logical value true or false depending on if the integer is a prime.

Per Wikipedia, a prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself.

Requirements

You can assume you will be given an integer input.

You can not assume that the integer will be only positive. You may be given negative numbers as well (or 0).

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

Here are my top 4 results from the Pairin survey:

@nicolegooden
nicolegooden / Beginners_Guide_to_data_types.md
Last active May 28, 2020 01:47
Mod0_S1_HW_Practice_Tasks

JavaScript Data Types

Javascript_image

Data types represent the type of data that is used in a programming language.

Strings

A string is a data type used to represent text.

Strings are inclusive of numbers, letters, spaces, and special characters.