Apr 6, 2025 · 1 min read · Еще одна пропущенная лексема, использующаяся “неоднократно“ для символизации, точнее лексема и её “редуцированная аббревиатура“ “прямо в лоб“. reverse - возвращает “обратную” копию lst. : (reverse (1 2 3 4)) -> (4 3 2 1) rev - меняет местами младшие...
Join discussionJun 27, 2024 · 2 min read · 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...
Join discussionApr 20, 2024 · 3 min read · In 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...
Join discussionNov 16, 2023 · 2 min read · Reversing 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);...
Join discussion
Nov 3, 2023 · 2 min read · Hello! 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...
Join discussion
Nov 1, 2023 · 1 min read · 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...
Join discussion