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

@gambhirsamarth

# Samarth Gambhir

@gambhirsamarth · India · Joined February 2023

### [Day 1 - React JS - Getting Started](https://gambhirsamarth.hashnode.dev/day-1-react-js-getting-started?utm_source=hashnode&utm_medium=feed)

Components React apps are made out of components. A component is a piece of UI that has its own logic and appearance. A component can be as small as a button or an entire page. React components are JavaScript functions that return markup: function My...

2 min read · [gambhirsamarth.hashnode.dev](https://gambhirsamarth.hashnode.dev/day-1-react-js-getting-started?utm_source=hashnode&utm_medium=feed)

[May 6, 2023](https://hashnode.com/posts/day-1-react-js-getting-started/64564a9565597f198314de43)

### [Longest Repeating Character Replacement](https://gambhirsamarth.hashnode.dev/longest-repeating-character-replacement?utm_source=hashnode&utm_medium=feed)

solution and approach for longest repeating character replacement coding question on leetcode in java

3 min read · [gambhirsamarth.hashnode.dev](https://gambhirsamarth.hashnode.dev/longest-repeating-character-replacement?utm_source=hashnode&utm_medium=feed)

[Apr 27, 2023](https://hashnode.com/posts/longest-repeating-character-replacement/644ac459f506c79f61a8cace)

### [Understanding map(), filter() and reduce() in JavaScript](https://gambhirsamarth.hashnode.dev/understanding-map-filter-and-reduce-in-javascript?utm_source=hashnode&utm_medium=feed)

JavaScript is a versatile programming language that provides a wide range of tools and functions to make complex operations simple and easy. Among these are the map(), filter(), and reduce() functions, which are powerful tools for processing data in ...

3 min read · [gambhirsamarth.hashnode.dev](https://gambhirsamarth.hashnode.dev/understanding-map-filter-and-reduce-in-javascript?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/understanding-map-filter-and-reduce-in-javascript/63fe4594bd67adb4deef3592) [Feb 28, 2023](https://hashnode.com/posts/understanding-map-filter-and-reduce-in-javascript/63fe4594bd67adb4deef3592)
