Shivansh PratapforShivansh Pratap's Blogshivanshpratapblog.hashnode.net·Jun 20, 2021Character Arrays Vs Strings in C++Have you ever wondered why does character array even exist when we have strings to do a similar job? Well, I will talk about it in this blog, so let's get started. Note - This is my very first blog and it would be great to have feedbacks. Before disc...Discuss·71 likes·777 readsC++
Arimoro Olamilekan EzekielforArimoro Olamilekan Ezekiel's Bloglexitarblog.hashnode.net·Oct 2, 2021Length of Last Word in a StringIntroduction I am still on the journey of solving at least one Data Structures and Algorithm question daily on Leetcode in order to understand the concepts I am learning well and it has been very challenging and interesting since I started solving th...Discuss·69 likes·300 readsSolutions to Data Structures and Algorithm Questions on LeetcodealgorithmsKeep these posts coming! 🚀 6
Arimoro Olamilekan EzekielforArimoro Olamilekan Ezekiel's Bloglexitarblog.hashnode.net·Oct 5, 2021First Unique Character in a String✨Introduction I am still on the journey of solving at least one Data Structures and Algorithm question daily on Leetcode in order to understand the concepts I am learning well and it has been very challenging and interesting since I started solving th...Discuss·67 likes·237 readsSolutions to Data Structures and Algorithm Questions on Leetcode2Articles1WeekCool 😎 4
Priya ChakrabortyforPriya's blogpriyachakraborty.hashnode.net·Apr 23, 2023DAY 8 of PYTHON top 100 questions : from Basic to Advanced !!Write a Python program to count the number of vowels in a given string : vowels = set("aeiouAEIOU") count = 0 string = input("Enter a string: ") for char in string: if char in vowels: count += 1 print("The number of vowels in the string i...Discuss·2 likes100DaysOfCode
Bandari sai kumarforBandari's blogtechrush.hashnode.net·Apr 22, 2023lengthOfLastWord C++ CodeThis line declares the function lengthOfLastWord that takes a string s as input and returns an integer. This line initializes a variable len to 0, which will be used to keep track of the length of the last word. This line initializes a variable i t...Discuss·10 likesDSA
Satyam AadityaforSatyam Aaditya's Blogsatyamaaditya.hashnode.net·Apr 20, 2023Python StringStrings are an essential part of Python programming. A string is a sequence of characters enclosed in single or double quotes. In this article, we will explore Python strings in detail. Creating a String You can create a string by enclosing a sequenc...DiscussLearn PythonPython
SiddhantforTech learnings put in simple wordssiddhantsiddh15.hashnode.net·Apr 15, 2023Handling Strings, Numbers and Arrays in JavaScriptJavaScript provides several methods to handle strings and arrays to make the development process seamless. In this article, you will find the methods and concepts that are frequently encountered while handling arrays and strings Substrings in JavaScr...DiscussJavaScript
Elucian MoiseforProgramming Languagessagecode.hashnode.net·Apr 3, 2023Go: Unicode & StringsUnicode is a character encoding standard that assigns a unique code point to each character and symbol used in written language, including letters, numbers, punctuation marks, and emojis. Rust supports Unicode natively and encourages developers to us...Discuss·10 likes·27 readsGo Languagegolang
Hemanth RajuforKHR Blogkhr.hashnode.net·Mar 26, 2023String Manipulation Techniques in JavascriptJavascript being one of the most powerful language helps us with built-in functions to do many string operations. We can use these built-in functions instead of making functions from scratch, it makes them easy for use in our projects. Lets learn one...Discuss·32 readsJavaScript
Sujeet JaiswalforSujeet's Blogsujeetpro.hashnode.net·Mar 20, 2023Length of a stringTL;DR '👩👩👦👦🌦️🧘🏻♂️'.length is 21 instead of 3 because JS gives length UTF-16 code units and icons are a combination of more than one of such code units. Use Intl.Segmenter to get the length of rendered graphemes. console.log("👩👩👦👦🌦️...Discussjs
Priya ChakrabortyforPriya's blogpriyachakraborty.hashnode.net·Mar 9, 2023Basics of Python-5Day 5 String : The string is an in-built data structure in python, which is an immutable data type, that is a sequential collection of characters. Because String is an immutable data type so we cannot change the string after it's written. Let's solve...Discussstring
Mohammed SharooqueforSharooquesharooque.hashnode.net·Feb 25, 2023String Pool and InterningOverview String pool is a storage space in Java heap memory where string literals are stored. This is maintained by the Java String class. The string pool is empty by default. String Pool improves performance and memory load by reducing the number of...Discuss·4 likes·39 readsJavaScript
Sumanaforsumana.hashnode.net·Feb 24, 202320. Valid ParenthesesThe function isValid takes a string s as input and checks if it contains a valid set of parentheses, brackets, and curly braces. Here's a step-by-step visualization of how the function works: Declare an empty array arr to store opening parentheses, ...Discuss·2 likes·39 readsleetcode-solution