Three Consecutive Odds
Q - Given an integer array arr, return true if there are three consecutive odd numbers in the array. Otherwise, return false.
LeetCode Problem: Link | Click Here
class Solution {
public boolean threeConsecutiveOdds(int[] arr) {
// Get th...
perfinsights.hashnode.dev1 min read