How to Reverse Only Letters and Vowels in a String Using C++using namespace std; #include <iostream> #include <algorithm> #include <vector> string reverseOnlyLetters(string s) { int low = 0; int high = s.size() - 1; while (low < high) { if (isalpha(s[low]) && isalpha(s[high])) ...3 min read·jubairshaik.hashnode.devJul 11, 2024
Layouts in Kotlin !ConstraintLayout: This is the most flexible and powerful layout in Android. It allows you to create large, complex layouts with a flat view hierarchy (no nested view groups). Elements are positioned using constraints relative to other elements or ...2 min read·jubairshaik.hashnode.devJul 8, 2024
Basic Interactivity UI in Kotlinin Linear Layout ! Create 2 Buttons in in activity_main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http:...1 min read·jubairshaik.hashnode.devJul 8, 2024
Showing Custom Toast in Kotlin APPIn Simple Terminology ! How to show Toast using Buttons1 min read·jubairshaik.hashnode.devJul 8, 2024