Showing 3 of 9 questions
You're given a graph; your goal is to add edges to it so that every node has an even degree. Find the minimum number of edges to add to achieve this.
#1. Add Edges to Make Degrees of All Nodes Even
Given an integer, you need to express it as the sum of two positive integers, neither of which contains the digit zero. Find and return any such pair of no-zero integers.
#2. Convert Integer to the Sum of Two No-Zero Integers
Determine if a pattern of a certain length repeats itself consecutively in an array at least a given number of times. Specifically, check for repeating subarrays.
#3. Detect Pattern of Length M Repeated K or More Times
Page 1 of 1 · 9 total