Largest element Given an integer array nums and an integer k, return the kth largest e…
Sequential Digits An integer has sequential digits if and only if each digit in the nu…
Palindrome Number: Given an integer x, return true if x is a palindrome and false othe…
Duplicate Element Given an integer array nums, return true if any value appears at lea…
Palindrome Sub String Given a string s, return the longest palindromic substring in s.…
Anthem Berland has a long and glorious history. To increase awareness about it among y…
Valid Anagram Given two strings s and t, return true if t is an anagram of s, and fals…
Longest Substring Shamikksha has a string to play with her friend. She wants to find …
Destination Given four integers sx, sy, tx, and ty, return true if it is possible to c…
Version Control System: A version control system(VCS) is a repository of files, ofte…
Maximum Possible Sweetness: Chef goes to a candy store that sells N different candies.…
Truth and Dare: Ram and Shyam are playing a game of Truth and Dare. In this game, Shy…
Compress the video: Chef recorded a video explaining his favorite recipe. However, the…
Bear and Segments Bear Limak has a sequence of N non-negative integers A1, A2, .... AN…
Python
Longest subarray You are given an array A of N integers: A1, A2, ..., AN. You need to…