Yahoo India Web Search

Search results

  1. Jun 26, 2024 · Learn about the binary system, a positional numeral system that uses only 0 and 1 as digits. Find out how it is used in information theory and computer technology.

    • The Editors of Encyclopaedia Britannica
  2. Jun 17, 2024 · Examples of Regular Expression : Regular expression of set of all strings of 0’s and 1’s starting with two zeros : 00(0+1)*. Regular expression of set of all strings of 0’s and 1’s having even number of 0’s followed by odd numbers of 1’s : (00)*1(11)*.

  3. Jun 26, 2024 · Binary code is a system of digital signals that use 0 and 1 to represent numbers, characters, and operations. Learn how binary code works, how it relates to decimal and hexadecimal systems, and how it is used in data compression.

    • The Editors of Encyclopaedia Britannica
  4. Jul 1, 2024 · Approaches to find the row with maximum number of 1s. [Naive Approach] Row-wise traversal – O (M*N) Time and O (1) Space. [Better Approach] Using Binary Search – O (M * logN) Time O (1) Space. [Expected Approach] Traversal from top-right to outside the grid – O (M + N) Time and O (1) Space.

    • 11 min
  5. Jul 1, 2024 · Computers only understand binary data, which includes a sequence of 0s and 1s. Hence, any data you provide to a computer for storing or processing is translated into binary data. In this blog post, we will understand binary data, its representation, and other aspects in detail.

  6. 3 days ago · The naive solution is to simply sort the array using a standard sorting algorithm or sort library function. This will simply place all the 0s first, then all 1s and 2s at last. This approach requires O (N * log (N)) time and O (1) space. [Better Approach] Counting 0s, 1s and 2s – Two Pass – O (N) Time and O (1) Space.

  7. Jun 13, 2024 · In 1679, he developed a number system in a manuscript called "On the Binary Progression" to represent numbers using just 0s and 1s.