---
title: "Preetika Prakash (@preetikaprakash) | Hashnode"
description: "Attempting #100DaysofCode challenge | Open Source Contributor. Read the latest articles by Preetika Prakash on Hashnode."
url: "https://hashnode.com/@preetikaprakash"
---

@preetikaprakash

# Preetika Prakash

@preetikaprakash · India · Joined October 2022

Attempting #100DaysofCode challenge | Open Source Contributor

### [Hide API key in Javascript](https://preetikaprakash.hashnode.dev/hide-api-key-in-javascript?utm_source=hashnode&utm_medium=feed)

Below 6 steps are for hiding the API key in Vanilla JavaScript code. No framework is used here. If you wan’t to hide your API key from the browser, follow the below steps to successfully hide it from being used by anyone else. Step 1 : Create a new j...

1 min read · [preetikaprakash.hashnode.dev](https://preetikaprakash.hashnode.dev/hide-api-key-in-javascript?utm_source=hashnode&utm_medium=feed)

[Mar 15, 2025](https://hashnode.com/posts/hide-api-key-in-javascript/67d5e03cc975f67586d08e32)

### [DSA Day 95/100](https://preetikaprakash.hashnode.dev/dsa-day-95100?utm_source=hashnode&utm_medium=feed)

Topic: Strings 1) Reverse Words in StringMedium Input: s = "a good example" Output: "example good a" Explanation: You need to reduce multiple spaces between two words to a single space in the reversed string. public String reverseWords(String s) ...

1 min read · [preetikaprakash.hashnode.dev](https://preetikaprakash.hashnode.dev/dsa-day-95100?utm_source=hashnode&utm_medium=feed)

[Sep 21, 2023](https://hashnode.com/posts/dsa-day-95100/650c76f6ca930a017a147db7)

### [DSA Day 94/100](https://preetikaprakash.hashnode.dev/dsa-day-94100?utm_source=hashnode&utm_medium=feed)

Topic: Strings 1) Length of last wordEasy Input: s = " fly me to the moon " Output: 4 Explanation: The last word is "moon" with length 4. public class lengthoflastword { public static int lengthOfLastWord(String s) { Stri...

1 min read · [preetikaprakash.hashnode.dev](https://preetikaprakash.hashnode.dev/dsa-day-94100?utm_source=hashnode&utm_medium=feed)

[Sep 19, 2023](https://hashnode.com/posts/dsa-day-94100/6509de8caca0197866b36e98)

### [DSA Day 93/100](https://preetikaprakash.hashnode.dev/dsa-day-93100?utm_source=hashnode&utm_medium=feed)

Topic: Arrays 1) Remove Duplicates from Sorted ArrayEasy2) Remove Duplicates from Sorted Array IIMedium Remove Duplicates from Sorted Array Input: nums = \[0,0,1,1,1,2,2,3,3,4\] Output: 5, nums = \[0,1,2,3,4,\_,\_,\_,\_,\_\] Explanation: Your function shou...

2 min read · [preetikaprakash.hashnode.dev](https://preetikaprakash.hashnode.dev/dsa-day-93100?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/dsa-day-93100/65088d357f828c871017290f) [Sep 18, 2023](https://hashnode.com/posts/dsa-day-93100/65088d357f828c871017290f)

### [DSA Day 92/100](https://preetikaprakash.hashnode.dev/dsa-day-92100?utm_source=hashnode&utm_medium=feed)

Topic: Arrays 1) Remove ElementEasy Input: nums = \[0,1,2,2,3,0,4,2\], val = 2 Output: 5, nums = \[0,1,4,0,3,\_,\_,\_\] Explanation: Your function should return k = 5, with the first five elements of nums containing 0, 0, 1, 3, and 4. Note that the five el...

1 min read · [preetikaprakash.hashnode.dev](https://preetikaprakash.hashnode.dev/dsa-day-92100?utm_source=hashnode&utm_medium=feed)

[Sep 17, 2023](https://hashnode.com/posts/dsa-day-92100/6507443cc6269add55a61129)
