Python Program to Find The Longest Word in A Sentence

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

startsWith, endsWith, and Finding Strings

This tutorial explains how the newer JavaScript startsWith and endsWith methods work, within a larger context of searching Strings in JavaScript. The String ...

Minimum substring flips required to convert given binary string to another

Minimum Count of Bit flips required to make a Binary String Palindromic ... Given an integer N, the task is to find the minimum number of bits required to be flipped to convert the binary ... _To make “1100” a palindrome, convert the string to “0110”. _ ... Take two pointers to one at the L.S.B *and another to the *M.S.B.

Hamming code Implementation in C/C++

Hamming Code Implementation in C++ Hamming code is a popular error detection and error correction method in data communication. Hamming code can only detect 2 bit error and correct a single bit error which means it is unable to correct burst errors if may occur while transmission of data.

Check if a palindromic string can be obtained by concatenating substrings split

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

C program to find the frequency of characters in a string

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

Scala Beginner Series (1) : Basics

This article will cover the fundamentals of Scala language. In Scala, we work with values and we compose them to obtain other values. The composition structures are expressions, and they’re exactly what we expect.

Scala Beginner Series (1) : Basics

In this article, take a look at the first post in a Scala beginner series where we start with the basics. This series is all about the Scala and is best suitable for all the newbies in Scala. This article will cover the fundamentals of the Scala language.

Check if a string can be converted to another by swapping of adjacent characters

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

Maximize cost obtained by removal of substrings "pr" or "rp" from a given String

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

Minimum cost to remove the spaces between characters of a String

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

Reverse words in a given string | Set 2

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

Generate a string from an array of alphanumeric strings based on given conditions

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

Minimize cost to empty a given string by characters alphabetically

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

Longest subsequence of a number having same left and right rotation

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

Count of valid pairs (X, Y) from given strings such that concatenating X

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

Minimum operations to transform given string to another

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

Minimum number of flips with rotation to make binary string alternating

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

Generate a string which differs by only a single character from all given strings

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

Count of maximum occurring subsequence using only

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.