The isValidSudoku function will return true if the input matrix represents a valid sudoku grid and false otherwise

Checking the Validity of a Sudoku Grid

Implementing an isValidSudoku function that takes a matrix representing a Sudoku grid as inputs and returns true if it is valid and false otherwise

November 2, 2023 · 10 min · Avnish
The productExceptSelf function will returns an array of products of all the elements without the element at the same index in input array

Building a Product Array without the Element Itself

Implementing a productExceptSelf function that returns an array of products of all the elements without the element at the same index in input array

October 28, 2023 · 4 min · Avnish
The topkFrequent function will return the top k most frequent elements in an array

Finding Most Frequent Elements in an Array

Implementing a topKFrequent(nums, k) function that takes an array of integers and a value k as inputs and returns top k most frequent elements.

October 26, 2023 · 6 min · Avnish
The groupAnagrams function will return an array with anagrams grouped together

Group Anagrams in an Array

Implementing a groupAnagrams function that takes an array of strings as input and returns another array with anagrams grouped together

October 22, 2023 · 6 min · Avnish
The twoSums function will return the indices of two elements in the input array that sum up to the target value

Finding Elements in an Array that Sum Up to a Target Value

Implementing a twoSums(nums, targetValue) function that returns the indices of two elements in nums which could be summed up to the targetValue

October 15, 2023 · 4 min · Avnish