AlgoTiny - Coding interview questions.Curated list of coding interview questions.https://algotiny.com/Leetcode 2781 - Length of the Longest Valid Substringhttps://algotiny.com/problems/2781-length-of-the-longest-valid-substring/https://algotiny.com/problems/2781-length-of-the-longest-valid-substring/Given a string and an array of forbidden substrings, find the length of the longest valid substring of the string.Wed, 06 Dec 2023 17:30:00 GMTLeetcode 1567 - Maximum Length of Subarray With Positive Producthttps://algotiny.com/problems/1567-maximum-length-of-subarray-with-positive-product/https://algotiny.com/problems/1567-maximum-length-of-subarray-with-positive-product/Given an array of integers, find the maximum length of a subarray where the product of all its elements is positive.Wed, 06 Dec 2023 16:30:00 GMTLeetcode 42 - Trapping Rain Waterhttps://algotiny.com/problems/42-trapping-rain-water/https://algotiny.com/problems/42-trapping-rain-water/Given an elevation map, compute how much water it can trap after raining.Mon, 04 Dec 2023 00:00:00 GMTLeetCode 1492 - The kth Factor of nhttps://algotiny.com/problems/1492-the-kth-factor-of-n/https://algotiny.com/problems/1492-the-kth-factor-of-n/Find the kth factor of a given integer n in ascending order, considering optimal solutions for performance.Fri, 24 Nov 2023 09:45:00 GMTLeetCode 125 - Valid Palindromehttps://algotiny.com/problems/125-valid-palindrome/https://algotiny.com/problems/125-valid-palindrome/Determine if a given string is a palindrome, considering only alphanumeric characters and ignoring cases.Thu, 23 Nov 2023 17:30:00 GMTLeetcode 271 - Encode and Decode Stringshttps://algotiny.com/problems/271-encode-and-decode-strings/https://algotiny.com/problems/271-encode-and-decode-strings/Design an algorithm to encode a list of strings into a single string and decode it back to the list, working with any set of characters.Thu, 23 Nov 2023 17:30:00 GMTLeetcode 167 - Two Sum II - Input Array Is Sortedhttps://algotiny.com/problems/167-two-sum-ii-input-array-is-sorted/https://algotiny.com/problems/167-two-sum-ii-input-array-is-sorted/Given a sorted array, find two numbers such that they add up to a specific target number, and return their indices.Thu, 23 Nov 2023 17:00:00 GMTLeetCode 36 - Valid Sudokuhttps://algotiny.com/problems/36-valid-sudoku/https://algotiny.com/problems/36-valid-sudoku/Determine if a 9x9 Sudoku board is valid based on specific rules for rows, columns, and 3x3 sub-boxes.Thu, 23 Nov 2023 17:00:00 GMTLeetcode 435 - Non-overlapping Intervalshttps://algotiny.com/problems/435-non-overlapping-intervals/https://algotiny.com/problems/435-non-overlapping-intervals/Given an array of intervals, find the minimum number of intervals to remove to make the rest non-overlapping.Thu, 23 Nov 2023 17:00:00 GMTLeetcode 128 - Longest Consecutive Sequencehttps://algotiny.com/problems/128-longest-consecutive-sequence/https://algotiny.com/problems/128-longest-consecutive-sequence/Given an unsorted array of integers, find the length of the longest consecutive elements sequence with an O(n) time complexity algorithm.Thu, 23 Nov 2023 16:45:00 GMTLeetCode 1431 - Kids With the Greatest Number of Candieshttps://algotiny.com/problems/1431-kids-with-the-greatest-number-of-candies/https://algotiny.com/problems/1431-kids-with-the-greatest-number-of-candies/Determine if each child can have the greatest number of candies after giving them extra candies.Thu, 23 Nov 2023 16:30:00 GMTLeetCode 2405 - Optimal Partition of Stringhttps://algotiny.com/problems/2405-optimal-partition-of-string/https://algotiny.com/problems/2405-optimal-partition-of-string/Given a string, partition it into substrings such that each substring contains unique characters. Find the minimum number of such substrings.Thu, 23 Nov 2023 16:30:00 GMTLeetcode 347 - Top K Frequent Elementshttps://algotiny.com/problems/347-top-k-frequent-elements/https://algotiny.com/problems/347-top-k-frequent-elements/Given an integer array and an integer k, find the k most frequent elements in the array.Thu, 23 Nov 2023 16:30:00 GMTLeetcode 56 - Merge Intervalshttps://algotiny.com/problems/56-merge-intervals/https://algotiny.com/problems/56-merge-intervals/Given an array of intervals, merge all overlapping intervals and return the non-overlapping intervals that cover the entire range.Thu, 23 Nov 2023 16:30:00 GMTLeetcode 57 - Insert Intervalhttps://algotiny.com/problems/57-insert-interval/https://algotiny.com/problems/57-insert-interval/Insert a new interval into a sorted array of non-overlapping intervals, merging overlapping intervals if necessary.Thu, 23 Nov 2023 16:30:00 GMTLeetcode 49 - Group Anagramshttps://algotiny.com/problems/49-group-anagrams/https://algotiny.com/problems/49-group-anagrams/Given an array of strings, group anagrams together. An anagram is a word formed by rearranging the letters of a different word, using all original letters exactly once.Thu, 23 Nov 2023 15:45:00 GMTLeetcode 242 - Valid Anagramhttps://algotiny.com/problems/242-valid-anagram/https://algotiny.com/problems/242-valid-anagram/Given two strings s and t, return true if t is an anagram of s, and false otherwise.Thu, 23 Nov 2023 15:22:00 GMTLeetcode 322 - Coin Changehttps://algotiny.com/problems/322-coin-change/https://algotiny.com/problems/322-coin-change/Given an array of coin denominations and a total amount, determine the minimum number of coins needed to make up that amount, or return -1 if it's not possible.Thu, 23 Nov 2023 15:22:00 GMTLeetcode 70 - Climbing Stairshttps://algotiny.com/problems/70-climbing-stairs/https://algotiny.com/problems/70-climbing-stairs/Determine the number of distinct ways to climb to the top of a staircase with 'n' steps, where each time you can climb 1 or 2 steps.Wed, 22 Nov 2023 16:45:00 GMTLeetcode 11 - Container With Most Waterhttps://algotiny.com/problems/11-container-with-most-water/https://algotiny.com/problems/11-container-with-most-water/Given an array of integers representing the height of vertical lines, find the maximum amount of water a container formed by these lines can store.Wed, 22 Nov 2023 15:22:00 GMTLeetcode 371 - Sum of Two Integershttps://algotiny.com/problems/371-sum-of-two-integers/https://algotiny.com/problems/371-sum-of-two-integers/Given two integers a and b, return the sum of the two integers without using the operators + and -.Wed, 22 Nov 2023 15:22:00 GMTLeetcode 15 - 3Sumhttps://algotiny.com/problems/15-3sum/https://algotiny.com/problems/15-3sum/Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0. The solution set must not contain duplicate triplets.Wed, 22 Nov 2023 12:00:00 GMTLeetcode 153 - Find Minimum in Rotated Sorted Arrayhttps://algotiny.com/problems/153-find-minimum-in-rotated-sorted-array/https://algotiny.com/problems/153-find-minimum-in-rotated-sorted-array/Given a sorted rotated array of unique elements, return the minimum element of this array.Tue, 21 Nov 2023 16:30:00 GMTLeetcode 152 - Maximum Product Subarrayhttps://algotiny.com/problems/152-maximum-product-subarray/https://algotiny.com/problems/152-maximum-product-subarray/Given an integer array nums, find a subarray that has the largest product, and return the product.Tue, 21 Nov 2023 16:10:00 GMTLeetcode 217 - Contains Duplicatehttps://algotiny.com/problems/217-contains-duplicate/https://algotiny.com/problems/217-contains-duplicate/Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct.Tue, 21 Nov 2023 16:00:00 GMTLeetcode 53 - Maximum Subarrayhttps://algotiny.com/problems/53-maximum-subarray/https://algotiny.com/problems/53-maximum-subarray/Given an integer array nums, find the subarray with the largest sum and return its sum.Tue, 21 Nov 2023 15:50:00 GMTLeetcode 121 - Best Time to Buy and Sell Stockhttps://algotiny.com/problems/121-best-time-to-buy-and-sell-stock/https://algotiny.com/problems/121-best-time-to-buy-and-sell-stock/You want to maximize your profit by choosing a single day to buy one stock and a different day in the future to sell that stock. Return the maximum profit you can achieve from this transaction.Tue, 21 Nov 2023 15:22:00 GMTLeetcode 238 - Product of Array Except Selfhttps://algotiny.com/problems/238-product-of-array-except-self/https://algotiny.com/problems/238-product-of-array-except-self/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].Tue, 21 Nov 2023 15:22:00 GMTLeetcode 567 - Permutation in Stringhttps://algotiny.com/problems/leetcode-567-permutation-in-string/https://algotiny.com/problems/leetcode-567-permutation-in-string/Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.Sat, 23 Sep 2023 15:22:00 GMTLeetcode 33 - Search in Rotated Sorted Arrayhttps://algotiny.com/problems/leetcode-33-search-in-rotated-sorted-array/https://algotiny.com/problems/leetcode-33-search-in-rotated-sorted-array/Given the array nums after the possible rotation and an integer target, return the index of target if it is in nums, or -1 if it is not in nums.Sat, 23 Sep 2023 15:22:00 GMTLeetcode 167 - Two Sum IIhttps://algotiny.com/problems/leetcode-167-two-sum-ii/https://algotiny.com/problems/leetcode-167-two-sum-ii/Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.Sat, 23 Sep 2023 15:22:00 GMTLeetcode 1 - Two Sumhttps://algotiny.com/problems/leetcode-1-two-sum/https://algotiny.com/problems/leetcode-1-two-sum/Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.Sat, 23 Sep 2023 15:22:00 GMT