SSofiya ShaikhApr 20 · 2 min readString Polyfills and Common Interview Methods in JavaScriptWhat Are String Methods? Think of a string as a train made of small compartments (characters). String methods are like tools that let us: Count compartments (length) Cut the train (slice) Paint comsofiyablogonjs.hashnode.dev
SSergey ShishkinApr 6, 2025 · 1 min readreverseЕще одна пропущенная лексема, использующаяся “неоднократно“ для символизации, точнее лексема и её “редуцированная аббревиатура“ “прямо в лоб“. reverse - возвращает “обратную” копию lst. : (reverse (1 2 3 4)) -> (4 3 2 1) rev - меняет местами младшие...serj-aleks.hashnode.dev
VVikas GuptaJun 27, 2024 · 2 min readMaster C# String Manipulation: Character Frequency, Remove Duplicates, Reverse & Find Substrings!Watch now and master the essential string programs that will make you a C# wizard! 🔮 https://www.youtube.com/watch?v=nNsorUMalF0 In this video, you'll discover: ✨ How to count character frequency in a string ✨ How to remove duplicates from a strin...vikasfeedingdotnet.hashnode.dev
TTuseef ashrafApr 20, 2024 · 3 min readTwo Pointers patternIn the world of algorithms and data structures, efficient solutions often rely on clever techniques to manipulate data. One such technique, the "two pointers" approach, is particularly useful for solving a variety of problems. While traditionally ass...tossef.hashnode.dev
AAkshima SharmaFeb 6, 2024 · 4 min readReverse the array - 450DSA Cracker SolutionReverse a String Given a String S , print the reverse of the string as output. class Solution { public: string revStr(string S) { for(int i = 0, j= S.length()-1; i<j ;i++,j--) { swap(S[i], S[j]); } re...keycomputereducation.hashnode.dev
GGulshan KumarNov 23, 2023 · 1 min readReverse the stringQ - You are given a string s. You need to reverse the string. GeekForGeeks Problem - Link | Click Here class Reverse { // Method to reverse a given string public static String reverseWord(String str) { // Get the length of the input s...perfinsights.hashnode.dev
SSirisha ChallagiriNov 16, 2023 · 2 min readReverse words in a stringReversing the words in a string. For reversing the string you can refer below link. Reverse of a string Approach1: public class ReverseWordString { public static void main(String[] args) { String s = "code with siri"; System.out.println(s);...sirishachallagiri.hashnode.dev
SSirisha ChallagiriNov 10, 2023 · 3 min readReverse of a stringMethod 1: public class StringReverse { public static void main(String[] args) { String s = "code with siri"; String str=""; System.out.println("Original"+s); for(int i=s.length()-1;i>=0;i--){ str = str+s.charAt(i); } S...sirishachallagiri.hashnode.dev
SSawan BadhwarNov 3, 2023 · 2 min readDay 6 but Day 4 of RecursionHello! everyone, it's nice to interact and share my experiences with you. I hope you like my blogs. As we were going through the topics of recursion, we also tried to solve a few of the questions with the help of recursion. However, solving only a fe...joyboy.dev
GGulshan KumarNov 1, 2023 · 1 min readReverse words in a given string.Write a Java program that takes a string S as input and reverses the order of the words while keeping the individual words unchanged. The input string will be a series of words separated by dots (.). Question - GeeksForGeeks import java.awt.*; import...perfinsights.hashnode.dev