![]() ![]() A character on even index can be swapped with another character on even index only.A character on odd index can be swapped with another character at odd index only.Two strings are distinct if on applying the following operations on one string the second string cannot be formed. Given an array of lower case strings, the task is to find the number of strings that are distinct. Friend Requests I: Overall Acceptance RateĪdd and Search Word - Data structure design LintCode 558: Sliding Window Matrix Maximumĥ97. Read N Characters Given Read4 II - Call multiple timesĥ37. Convert Binary Search Tree to Sorted Doubly Linked Listġ58. Longest Substring with At Least K Repeating CharactersĤ26. This includes gathering information about the problem space, performance requirements, scalability needs, and security concerns. Longest Substring with At Most K Distinct Charactersģ95. Here are some steps for approaching a system design tutorial: Understand the requirements: Before starting the design process, it is important to understand the requirements and constraints of the system. Longest Substring with At Most Two Distinct Charactersģ40. Substring with Concatenation of All Wordsġ59. Longest Substring Without Repeating Charactersģ0. Binary Tree Zipzag Level Order TraversalĨ62. Verify Preorder Sequence in Binary Search Treeġ03. Lowest Common Ancestor of a Binary Search TreeĢ55. short the url with tinyurl shorturl (mainurl) The tinyurl.short() method accepts the main URL and returns a short URL. Now, we need to shorten the mainurl with the Shortner() object and tinyurl.short() method. Lowest Common Ancestor of a Binary TreeĢ35. For this tutorial, we will be using its TinyURL API. Serialize and Deserialize Binary TreeĢ36. Most Stones Removed with Same Row or ColumnĢ97. Number of Connected Components in an Undirected Graphĩ47. Construct Binary Tree from Inorder and Postorder Traversalģ14. Construct Binary Tree from Preorder and Inorder Traversalġ06. Convert Sorted List to Binary Search TreeĬonvert Binary Search Tree (BST) to Sorted Doubly-Linked ListĬonstruct Binary Tree from Inorder and Postorder Traversalġ05. Add and Search Word - Data structure designġ09. Find All Numbers Disappeared in an ArrayĢ11. ![]() Rotate Image(Amazon, MicroSoft, Apple)Ĥ48. Kth Smallest Element in a Sorted MatrixĤ8. Find First and Last Position of Element in Sorted ArrayĬount number of occurrences (or frequency) in a sorted arrayģ78. Find Minimum in Rotated Sorted Array IIģ4. Design a URL Shortening Service (TinyURL) URL shortening service allows users to enter a long URL, and then it returns a shorter, unique URL. Insert Delete GetRandom O(1) - Duplicates allowedġ53. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |