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.

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

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++ 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.

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.

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.