Vanshika2063 / Leetcode-Questions

A repository for LEETCODE QUESTIONS
MIT License
22 stars 119 forks source link

Add Solution for Find All Good Indices & Longest Subarray With Maximum Bitwise AND #239

Closed mohitmallick17 closed 1 year ago

mohitmallick17 commented 1 year ago

Problem: Find All Good Indices Time Complexity: O(N) Space Complexity: O(N) Difficulty: Medium Topics: Prefix Sum, Array

Problem: Longest Subarray With Maximum Bitwise AND Time Complexity: O(N) Space Complexity: O(1) Difficulty: Medium Topics: Array, Maths

Vanshika2063 commented 1 year ago

this is amazing @mohitmallick17 thanks for the contribution in my repo and please share in social media and tag me on twitter