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

@MahekGor

# Mahek Gor

@MahekGor · Gandhinagar, India · Joined July 2022

### [Leetcode: Compute Decimal Representation](https://mahekgor.hashnode.dev/leetcode-compute-decimal-representation?utm_source=hashnode&utm_medium=feed)

You are given a positive integer n. A positive integer is a base-10 component if it is the product of a single digit from 1 to 9 and a non-negative power of 10. For example, 500, 30, and 7 are base-10 components, while 537, 102, and 11 are not. Expre...

2 min read · [mahekgor.hashnode.dev](https://mahekgor.hashnode.dev/leetcode-compute-decimal-representation?utm_source=hashnode&utm_medium=feed)

[Oct 1, 2025](https://hashnode.com/posts/leetcode-compute-decimal-representation/68dd94601815fc16a5e6b17f)

### [Resetting Password for user account when you are using WSL(Windows Subsystem for Linux)](https://mahekgor.hashnode.dev/resetting-password-for-user-account-when-you-are-using-wslwindows-subsystem-for-linux?utm_source=hashnode&utm_medium=feed)

If you're using WSL (Windows Subsystem for Linux) and you've forgotten the password for your user account, you can reset it by following these steps: Right-click the Start button and select "Windows PowerShell (Admin)" or "Command Prompt (Admin). I...

1 min read · [mahekgor.hashnode.dev](https://mahekgor.hashnode.dev/resetting-password-for-user-account-when-you-are-using-wslwindows-subsystem-for-linux?utm_source=hashnode&utm_medium=feed)

[Jul 8, 2024](https://hashnode.com/posts/resetting-password-for-user-account-when-you-are-using-wslwindows-subsystem-for-linux/668b933d84a3e5b87a61dfb0)

### [GFG POTD - Remove all occurences of duplicates in a linked list](https://mahekgor.hashnode.dev/gfg-potd-remove-all-occurences-of-duplicates-in-a-linked-list?utm_source=hashnode&utm_medium=feed)

Given a sorted linked list, delete all nodes that have duplicate numbers (all occurrences), leaving only numbers that appear once in the original list, and return the head of the modified linked list. Examples: Input: Linked List = 23->28->28->35->4...

3 min read · [mahekgor.hashnode.dev](https://mahekgor.hashnode.dev/gfg-potd-remove-all-occurences-of-duplicates-in-a-linked-list?utm_source=hashnode&utm_medium=feed)

[Jul 3, 2024](https://hashnode.com/posts/gfg-potd-remove-all-occurences-of-duplicates-in-a-linked-list/6684eff4d6149e8f32ea3c7a)

### [Leetcode POTD - Intersection of Two Arrays II](https://mahekgor.hashnode.dev/leetcode-potd-intersection-of-two-arrays-ii?utm_source=hashnode&utm_medium=feed)

Given two integer arrays nums1 and nums2, return an array of their intersection. Each element in the result must appear as many times as it shows in both arrays and you may return the result in any order. Example 1: Input: nums1 = \[1,2,2,1\], nums2 = ...

2 min read · [mahekgor.hashnode.dev](https://mahekgor.hashnode.dev/leetcode-potd-intersection-of-two-arrays-ii?utm_source=hashnode&utm_medium=feed)

[Jul 2, 2024](https://hashnode.com/posts/leetcode-potd-intersection-of-two-arrays-ii/668397294cc57cc043868792)

### [GFG POTD - 21st June 2024 Solution](https://mahekgor.hashnode.dev/gfg-potd-21st-june-2024-solution?utm_source=hashnode&utm_medium=feed)

Problem Statement: You are given a string str containing two fractions a/b and c/d, compare them and return the greater. If they are equal, then return "equal". Note: The string str contains "a/b, c/d"(fractions are separated by comma(,) & space( ))....

2 min read · [mahekgor.hashnode.dev](https://mahekgor.hashnode.dev/gfg-potd-21st-june-2024-solution?utm_source=hashnode&utm_medium=feed)

[Jun 21, 2024](https://hashnode.com/posts/gfg-potd-21st-june-2024-solution/667542d4ff0650208d5c3555)
