---
title: "Pranjit Medhi (@Pranjit) | Hashnode"
description: "Pranjit Medhi (@Pranjit) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@Pranjit"
---

@Pranjit

# Pranjit Medhi

@Pranjit · Joined March 2023

### [Inserting an element in an Array at Any Position](https://pranjitmedhi.hashnode.dev/inserting-an-element-in-an-array-at-any-position?utm_source=hashnode&utm_medium=feed)

Arrays are fixed-size data structures that can contain only homogeneous elements. Inserting an element in an array is one of the basic operations done in an array.To insert an element at the end of an array is easy we can directly insert the element ...

1 min read · [pranjitmedhi.hashnode.dev](https://pranjitmedhi.hashnode.dev/inserting-an-element-in-an-array-at-any-position?utm_source=hashnode&utm_medium=feed)

[Aug 27, 2023](https://hashnode.com/posts/inserting-an-element-in-an-array-at-any-position/64eae3c7540e11d46fdf0c93)

### [LeetCode 28. Find the Index of the First Occurrence in a String](https://pranjitmedhi.hashnode.dev/leetcode-28-find-the-index-of-the-first-occurrence-in-a-string?utm_source=hashnode&utm_medium=feed)

Question Statement: Given two strings needle and haystack, return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. Example 1: Input: haystack = "sadbutsad", needle = "sad" Output: 0 Explanation: "sad...

1 min read · [pranjitmedhi.hashnode.dev](https://pranjitmedhi.hashnode.dev/leetcode-28-find-the-index-of-the-first-occurrence-in-a-string?utm_source=hashnode&utm_medium=feed)

[Aug 24, 2023](https://hashnode.com/posts/leetcode-28-find-the-index-of-the-first-occurrence-in-a-string/64e78431fe0b1ce8b324b072)

### [Largest Sum Contiguous Subarray Kadane's Algorithm](https://pranjitmedhi.hashnode.dev/largest-sum-contiguous-subarray-kadanes-algorithm?utm_source=hashnode&utm_medium=feed)

Find the largest sum in a contiguous array is a common problem we face in technical interview rounds. The problem is to find the largest sum from a contiguous array which may contain positive and negative numbers.Whenever all the numbers are positive...

1 min read · [pranjitmedhi.hashnode.dev](https://pranjitmedhi.hashnode.dev/largest-sum-contiguous-subarray-kadanes-algorithm?utm_source=hashnode&utm_medium=feed)

[Jul 15, 2023](https://hashnode.com/posts/largest-sum-contiguous-subarray-kadanes-algorithm/64b2159ece77e3ed5eb0ed2f)

### [Square Root of a Number using Binary Search](https://pranjitmedhi.hashnode.dev/square-root-of-a-number-using-binary-search?utm_source=hashnode&utm_medium=feed)

Finding the square root of a number using binary search is a common problemwe start by taking the start as 0(zero) and the end(as the number) since the square root of that number will be in between them.We start using a while loop where the start is ...

2 min read · [pranjitmedhi.hashnode.dev](https://pranjitmedhi.hashnode.dev/square-root-of-a-number-using-binary-search?utm_source=hashnode&utm_medium=feed)

[May 21, 2023](https://hashnode.com/posts/square-root-of-a-number-using-binary-search/6469c906b92348c38a47168b)

### [Docker for Beginner](https://pranjitmedhi.hashnode.dev/docker-for-beginner?utm_source=hashnode&utm_medium=feed)

Docker is an open platform for developing, shipping and running applications. It enables us to separate applications from infrastructure. It reduces the time between writing code and running it in production. Docker can Containerize an application ...

2 min read · [pranjitmedhi.hashnode.dev](https://pranjitmedhi.hashnode.dev/docker-for-beginner?utm_source=hashnode&utm_medium=feed)

[Mar 19, 2023](https://hashnode.com/posts/docker-for-beginner/6416d3b233a442295f5c64d7)
