Open in app

Sign In

Write

Sign In

Chunks
Chunks

12 Followers

Home

About

May 13, 2021

Iterable vs Iterator in Java

Iterable and Iterator are both interfaces in Java that sound alike and are often confusing to Java developers. Let’s start by defining the word “iteration”. From Merriam-Webster dictionary, an iteration is the repetition of a sequence of computer instructions a specified number of times or until a condition is met. …

Java

2 min read

Java

2 min read


Apr 17, 2021

How to setup Spring Boot container to handle HTTPS requests

According to Wikipedia, Hypertext Transfer Protocol Secure (HTTPS) is an extension of Hypertext Transfer Protocol (HTTP). It is used for secure communication over a computer network. In HTTPS, the communication protocol is encrypted using Transport Layer Security (TLS). …

Spring Boot

2 min read

How to setup Spring Boot container to handle HTTPS requests
How to setup Spring Boot container to handle HTTPS requests
Spring Boot

2 min read


May 13, 2020

I didn’t know how to solve this Leetcode Problem!😭😭😭

This is a medium Leetcode 402 question where you are asked to remove k digits from a number to make that number the smallest possible number. See problem description below: The question is quite understandable and straight forward but the issue is with knowing the numbers to remove. At first…

Leetcode

2 min read

I didn’t know how to solve this Leetcode Problem!😭😭😭
I didn’t know how to solve this Leetcode Problem!😭😭😭
Leetcode

2 min read


May 12, 2020

The Good, The Bad, The Ugly Solutions to Leetcode’s Single Element in a Sorted Array

This is a medium Leetcode 543 question. You are given an array of integers of which all elements in the array appear twice except one. The question is to get the one that does not have any duplicate (i.e appeared just once). See problem description below: NOTE: The solution should…

Leetcode

4 min read

The Good, The Bad, The Ugly Solutions to Leetcode’s Single Element in a Sorted Array
The Good, The Bad, The Ugly Solutions to Leetcode’s Single Element in a Sorted Array
Leetcode

4 min read


May 12, 2020

Solution to Leetcode’s Flood Fill

This is an easy Leetcode 733 problem. See problem description below: CONCEPT To get a clearer picture of what the question wants us to do, first, it will be better to break the multidimensional array elements to form a square-like structure e.g …

Leetcode

3 min read

Solution to Leetcode’s Flood Fill
Solution to Leetcode’s Flood Fill
Leetcode

3 min read


May 10, 2020

Solution to Leetcode’s Remove Duplicates From Sorted Array II

I must confess this question took me a while as a beginner. This is a medium Leetcode 80 question. This is similar to Leetcode 26 where you are simply asked to remove all duplicates in an array. The tweak in Leetcode 80 is that the highest duplicate a number in…

Leetcode

3 min read

Solution to Leetcode’s Remove Duplicates From Sorted Array II
Solution to Leetcode’s Remove Duplicates From Sorted Array II
Leetcode

3 min read


May 9, 2020

Solution to Leetcode’s Valid Perfect Square

This is an easy Leetcode problem 367. The question gives a number and you are to write a function to determine if it is a perfect square. See the image below for description. According to wikipedia, a perfect square is the product of a number with itself. in this context…

Leetcode

3 min read

Solution to Leetcode’s Valid Perfect Square
Solution to Leetcode’s Valid Perfect Square
Leetcode

3 min read


Apr 29, 2020

INTRODUCTION TO REGEX EXPRESSIONS FOR JAVA DEVELOPERS

According to oracle doc, Regular Expressions popularly called Regex are a way to describe a set of strings based on common characteristics shared by each string in the set. They can be used to search, edit, or manipulate text and data. In layman’s term, Regular Expressions are ways that help…

Regex

8 min read

INTRODUCTION TO REGEX EXPRESSIONS FOR JAVA DEVELOPERS
INTRODUCTION TO REGEX EXPRESSIONS FOR JAVA DEVELOPERS
Regex

8 min read


Mar 29, 2020

Solution to Leetcode’s Remove Duplicates from Sorted Linked List

Leetcode

1 min read

Leetcode

1 min read


Mar 23, 2020

Solution to Leetcode’s Maximum Subarray

This is an easy Leetcode problem 53. See below image for description: FIRST APPROACH I knew the brute force solution to this problem when i saw it, but then doing the brute force solution would be brutally slow. I had read an article and watched a YouTube tutorial on sliding…

Leetcode

3 min read

Solution to Leetcode’s Maximum Subarray
Solution to Leetcode’s Maximum Subarray
Leetcode

3 min read

Chunks

Chunks

12 Followers
Following
  • Amit Shekhar

    Amit Shekhar

  • Gabriel Peal

    Gabriel Peal

  • Joe Birch

    Joe Birch

  • Nick Babich

    Nick Babich

  • krishankant singhal

    krishankant singhal

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech