Open in app

Sign In

Write

Sign In

Soob Kim
Soob Kim

2 Followers

Home

About

May 12, 2021

Counting Primes?

Optimus Prime One interesting algorithm I came across was a simple function that will count the total number of prime numbers included in an input of n. Very simply, the function would output like below: countprimes(10) #=> 4, //the prime numbers for 10 are [2, 3, 5, 7] However, if…

2 min read

Counting Primes?
Counting Primes?

2 min read


Apr 27, 2021

Rails: CSRF Tokens

What is CSRF Cross-Site Request Forgery, or CSRF, as defined by Wikipedia, is a type of malicious exploit of a website where unauthorized commands are submitted from a user that a web application trusts. This exploit relies on re-writing a user’s intended action with another written by a hacker. For…

4 min read

Rails: CSRF Tokens
Rails: CSRF Tokens

4 min read


Apr 20, 2021

Selection Sort versus Insertion Sort

“The Big Sort” One common algorithm that developers come across is the sorting algorithm. Sorting algorithms can be defined as an algorithm that puts elements in a certain order. For example, take the array below. arr = [ 9, 10, 5, 2, 4 ,1 ,3, 6, 8, 7 ] As…

5 min read

Selection Sort versus Insertion Sort
Selection Sort versus Insertion Sort

5 min read


Apr 6, 2021

Conditional Rendering in React

Conditional Rendering There are many situations in which a developer needs to render something on a conditional basis. For instance, we could take a simple form on a webpage, and have it displayed when a certain button on the page is pressed. The essential nature of conditional rendering is simply…

4 min read

Conditional Rendering in React
Conditional Rendering in React

4 min read


Mar 30, 2021

Recursive Fibonacci in JavaScript

The Problem The Fibonacci sequence is a series of numbers, initialized at 0 and 1. From these two numbers, the sequence proceeds by adding the two numbers in order to create the next number in the series. …

Coding

6 min read

Recursive Fibonacci in JavaScript
Recursive Fibonacci in JavaScript
Coding

6 min read

Soob Kim

Soob Kim

2 Followers

Future Full-Stack Engineer

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech