Open in app

Sign In

Write

Sign In

Karan S. Chauhan
Karan S. Chauhan

41 Followers

Home

About

Jun 14, 2021

How I Created My Own Chrome Extension

I’ve always been curious about how extensions were made. After looking through various online resources, I thought I’d give it a go and have fun while making my very first extension. What I had in mind was an extension I could turn on, and it would manipulate elements on the…

Chrome

3 min read

How I Created My Own Chrome Extension
How I Created My Own Chrome Extension
Chrome

3 min read


Jun 7, 2021

Finding The First Duplicate Value in Python

Here’s a problem that took me a while to figure out an optimal solution. The First Duplicate Value. So far, I’ve noticed some techniques that can be applied to data structure and algorithm problems. For example, the pointer technique, to compare different elements in an array, and creating a hashmap…

Python

3 min read

Finding The First Duplicate Value in Python
Finding The First Duplicate Value in Python
Python

3 min read


May 31, 2021

What are Design Patterns?

When I first started learning about code, I always wondered how design patterns came about. Simply speaking, certain solutions would be repeated many times over until it was recognized as a common pattern that can be referenced. Design patterns are templates that software engineers can use to provide themselves with…

Design Patterns

2 min read

What are Design Patterns?
What are Design Patterns?
Design Patterns

2 min read


May 24, 2021

Solving The Min Height Binary Search Tree in Python

The Prompt Create a function that takes in a non-empty sorted array of integers, creates a Binary Search Tree (BST) from the integers, and returns the root of the BST. The function should minimize the height of the BST. The Code Given a BST class. We need to create the function, and the logic…

Binary Search Tree

2 min read

Solving The Min Height Binary Search Tree in Python
Solving The Min Height Binary Search Tree in Python
Binary Search Tree

2 min read


May 17, 2021

4 Tips For New Front-End Developers

Since I’ve been getting deeper into front end development, I thought I’d share a few things I’ve found to be helpful to create optimized code. Front end developing feels like solving a jigsaw puzzle to me and there are so many moments of confusion when writing code. There are plenty…

Front End Development

3 min read

4 Tips For New Front-End Developers
4 Tips For New Front-End Developers
Front End Development

3 min read


May 10, 2021

Validate Binary Search Tree With Python

The Prompt Create a function that takes in a Binary Search Tree (BST), it may be invalid, and returns a boolean value representing whether the BST is valid. Each BST node has an integer value, a left child node, and a right child node. A node is valid if it satisfies the…

Binary Search Tree

3 min read

Validate Binary Search Tree With Python
Validate Binary Search Tree With Python
Binary Search Tree

3 min read


May 3, 2021

Tournament Winner Solution in Python

The Prompt There is an algorithms tournament taking place where teams of programmers compete against each other to solve problems as fast as possible. Teams compete in a round robin, where each team faces off against all other teams. Only two teams compete against each other as a time, for each competition…

Python

3 min read

Tournament Winner Solution in Python
Tournament Winner Solution in Python
Python

3 min read


Apr 26, 2021

Three Number Sum in Python

I recently created a solution for the three number sum problem in JavaScript, and now that I want to practice my Python, I thought I’d create a similar solution in Python. Let’s begin. The Prompt Create a function that takes an array and a target integer that represents the sum. …

Coding

2 min read

Three Number Sum in Python
Three Number Sum in Python
Coding

2 min read


Apr 19, 2021

Solving Leetcode Question 859, Buddy Strings, Using Python

The Prompt Given two input strings, (a) and (b), return (true) if two letters in (a) can be swapped so that the result is equal to (b), otherwise return (false). Note: swapping letters is defined as taking two indices (i) and (j), where (i) is not equal to (j), and swapping the…

Coding

2 min read

Solving Leetcode Question 859, Buddy Strings, Using Python
Solving Leetcode Question 859, Buddy Strings, Using Python
Coding

2 min read


Apr 12, 2021

Find Three Largest Numbers in JavaScript

The Prompt Create a function that takes an array of at least three integers and returns a sorted array of the three largest integers in the input array. Note: You cannot sort the input array The function should return duplicate integers, if necessary. For example: Input array -> [10, 5, 9, 10…

JavaScript

3 min read

Find Three Largest Numbers in JavaScript
Find Three Largest Numbers in JavaScript
JavaScript

3 min read

Karan S. Chauhan

Karan S. Chauhan

41 Followers
Following
  • Alex Beciana

    Alex Beciana

  • Joseph Kofler

    Joseph Kofler

  • Jim Ferdous

    Jim Ferdous

  • Sam Lesser

    Sam Lesser

  • Michael Horowitz

    Michael Horowitz

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech