SarthakKeshari / Java-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
47 stars 98 forks source link

Product of Array Except Self #324

Closed nik132-eng closed 3 years ago

nik132-eng commented 3 years ago

Enter your question -

Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements of nums except nums[i].

The product of any prefix or suffix of nums is guaranteed to fit in a 32-bit integer.

You must write an algorithm that runs in O(n) time and without using the division operation.

Enter link to the question(if question belongs to any online platform) -

https://leetcode.com/problems/product-of-array-except-self/

Tags for the question(eg - Array, Basic, Stack, etc.) -

Array

nik132-eng commented 3 years ago

please this issue assign to me

SarthakKeshari commented 3 years ago

@nik132-eng, Kindly note - Not more than 2 questions can be assigned to a contributor at a time.

nik132-eng commented 3 years ago

ok sir

nik132-eng commented 3 years ago

can you assign me now?

SarthakKeshari commented 3 years ago

@nik132-eng, Kindly add your solution to "leetcode" folder Deadline - 09/10/2021