Open in app

Sign In

Write

Sign In

Steve Pesce
Steve Pesce

17 Followers

Home

About

Published in

The Startup

·Pinned

How to Create Your Own BigInt Class in Java — Data Structures and Algorithms Practice

When I want to practice for interviews, I like to do exercises on CodeWars and LeetCode. I recently found a kata on CodeWars that I really enjoyed. The problem was to create a factorial calculator that returns the number as a String. So I thought to myself, what’s so difficult…

Bigint

6 min read

How to Create Your Own BigInt Class in Java — Data Structures and Algorithms Practice
How to Create Your Own BigInt Class in Java — Data Structures and Algorithms Practice
Bigint

6 min read


Dec 7, 2020

Java Widening and Narrowing Type Conversion

Since Java is strongly typed, you will often need to convert one type to another. The Java Language Specifications states that there are 13 such conversions possible. Here I will focus on two of these, widening and narrowing type conversions. While some type conversions need to be deliberately stated, sometimes…

Java

3 min read

Java

3 min read


Nov 22, 2020

RPN Calculator in Java — A Practical Stack Implementation

After last weeks blog post, What is a Stack and how to Create one in Java, I figured it would be nice to give a practical example of using a stack in Java. Reverse Polish Notation (also known as Postfix Notation) is a different way to write mathematical expressions. Normally…

Stack

3 min read

RPN Calculator in Java — A Practical Stack Implementation
RPN Calculator in Java — A Practical Stack Implementation
Stack

3 min read


Nov 15, 2020

What is a Stack and how to Create one in Java

A stack, also known as LIFO (last in, first out), is a linear data structure with two main operations — push and pop. Items are added to the top of the stack, and items are removed from the top of the stack. The name ‘stack’ is very self explanatory, think…

Java

3 min read

What is a Stack and how to Create one in Java
What is a Stack and how to Create one in Java
Java

3 min read


Sep 19, 2020

How To Use GitHub from your terminal with GitHub CLI

Personally, I never liked switching back and forth between my browser and terminal when working with git repos on GitHub. For this reason, I was excited to hear about the new GitHub CLI. Installing GitHub CLI 1.0 (beta) MacOS homebrew: brew install gh macPorts: sudo port install gh Windows scoop: scoop bucket add github-gh https://github.com/cli/scoop-gh.git scoop…

Github Cli

3 min read

How To Use GitHub from your terminal with GitHub CLI
How To Use GitHub from your terminal with GitHub CLI
Github Cli

3 min read


Sep 1, 2020

How To Make Easy Forms with React Hook Form

Usually forms are controlled in React. Using a controlled form gives you a high level of abstraction, easier testing, a single source of truth and more benefits over standard uncontrolled forms. Using a standard React controlled form however, has two major downfalls — lots of code and a re-render on…

React Hook Form

4 min read

How To Make Easy Forms with React Hook Form
How To Make Easy Forms with React Hook Form
React Hook Form

4 min read


Aug 11, 2020

How To Properly Change State in React

When learning React, you will be introduced to the tool React.Component.setState() and instructed to never update the state property directly. In any programming language, if you are provided an accessor method (a getter or a setter), it’s safe to assume that you shouldn’t access the variable directly. …

React State

3 min read

How To Properly Change State in React
How To Properly Change State in React
React State

3 min read


Jul 27, 2020

Bitwise Operators and Binary Numbers Explained in Javascript

Binary Numbers from a Decimal Perspective Decimal numbers have a base of 10, meaning that any decimal number can be represented as the sum of powers of 10. And in summation form:

JavaScript

6 min read

Bitwise Operators and Binary Numbers Explained in Javascript
Bitwise Operators and Binary Numbers Explained in Javascript
JavaScript

6 min read


Jun 23, 2020

Linked Lists and How to Implement Them in Ruby

Linked lists are the foundation of other data structures and can be used to create stacks, queues, and more. They can be very efficient when used correctly and can also be inefficient when used incorrectly. Random access is very expensive for a Linked List. A linked list is a collection…

4 min read

Linked Lists and How to Implement Them in Ruby
Linked Lists and How to Implement Them in Ruby

4 min read

Steve Pesce

Steve Pesce

17 Followers
Following
  • Luis F.

    Luis F.

  • Andy Aguilar

    Andy Aguilar

  • Tosh

    Tosh

  • Esther 승연 Kang

    Esther 승연 Kang

  • Ian MacKinnon

    Ian MacKinnon

See all (16)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams