• Valid Triangle Number

  • Author : Shubham Verma
  • Date : July 27, 2021
  • idkblogs.com

Valid Triangle Number

Given an integer array nums, return the number of triplets chosen from the array that can make triangles if we take them as side lengths of a triangle.

idkBlogs

Read More

  • Isomorphic Strings - Given two strings s and t, determine if they are isomorphic

  • Author : Shubham Verma
  • Date : July 11, 2021
  • idkblogs.com

Isomorphic Strings - Given two strings s and t, determine if they are isomorphic

Two strings s and t are isomorphic if the characters in s can be replaced to get t. All occurrences of a character must be replaced with another character while preserving the order of characters. No two characters may map to the same character, but a character may map ...

idkBlogs

Read More

  • Find Median from Data Stream

  • Author : Shubham Verma
  • Date : July 11, 2021
  • idkblogs.com

Find Median from Data Stream

The median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value and the median is the mean of the two middle values.

idkBlogs

Read More

  • Merge Two Sorted Lists

  • Author : Shubham Verma
  • Date : July 11, 2021
  • idkblogs.com

Merge Two Sorted Lists

Merge two sorted linked lists and return it as a sorted list. The list should be made by splicing together the nodes of the first two lists.

idkBlogs

Read More

  • Maximum Length of Repeated Subarray

  • Author : Shubham Verma
  • Date : July 7, 2021
  • idkblogs.com

Maximum Length of Repeated Subarray

Given two integer arrays nums1 and nums2, return the maximum length of a subarray that appears in both arrays.

idkBlogs

Read More