Day 10 of LeetCode Challenge
Problem 1: Number of Arithmetic Triplets
Link to the problem: https://leetcode.com/problems/number-of-arithmetic-triplets/description/
import java.util.HashMap;
class Solution {
public int arithmeticTriplets(int[] nums, int diff) {
Hash...
tusharpant.hashnode.dev3 min read