---
title: "Srajan Gupta (@srajaninnov) | Hashnode"
description: "Founder @Asquero. Read the latest articles by Srajan Gupta on Hashnode."
url: "https://hashnode.com/@srajaninnov"
---

@srajaninnov

# Srajan Gupta

@srajaninnov · Joined December 2019

Founder @Asquero

### [Find the Diameter of a Binary Tree](https://asquero.hashnode.dev/find-the-diameter-of-a-binary-tree?utm_source=hashnode&utm_medium=feed)

You are given the reference to the root node of a binary tree. Find the diameter of the tree. Input: The function diameterOfBinaryTree(struct node \*root) only takes the reference to the root node as input. Output: Return the diameter of the Binary Tr...

[asquero.hashnode.dev](https://asquero.hashnode.dev/find-the-diameter-of-a-binary-tree?utm_source=hashnode&utm_medium=feed)

[Dec 9, 2019](https://hashnode.com/posts/find-the-diameter-of-a-binary-tree/5dedcdc2ca954f7448bb9b4a)

### [Find a subarray with a given sum](https://asquero.hashnode.dev/find-a-subarray-with-a-given-sum?utm_source=hashnode&utm_medium=feed)

Given an unsorted array A of size N of non-negative integers, find a continuous sub-array which adds to a given number S. Input: The first line of input contains an integer T denoting the number of test cases. Then T test cases follow. Each test case...

[asquero.hashnode.dev](https://asquero.hashnode.dev/find-a-subarray-with-a-given-sum?utm_source=hashnode&utm_medium=feed)

[Dec 8, 2019](https://hashnode.com/posts/find-a-subarray-with-a-given-sum/5dec7810b6829d7f1423a023)
