Skip to content

Android Playground

  • Algorithm Problems
  • My Android Apps
  • About Me

Author: Coding Rabbit

August 25, 2019 Coding Rabbit

Meeting Rooms II

Given an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2],...] (si < ei), find the minimum number of conference rooms required.

Continue reading

August 24, 2019 Coding Rabbit

Remove Invalid Parentheses

Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results.

Continue reading

August 24, 2019 Coding Rabbit

Valid Parentheses

Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.

Continue reading

August 23, 2019 Coding Rabbit

Merge Intervals

Given a collection of intervals, merge all overlapping intervals.

Continue reading

August 10, 2019 Coding Rabbit

Word Ladder

Given two words (beginWord and endWord), and a dictionary’s word list, find the length of shortest transformation sequence from beginWord to endWord, such that:

Continue reading

August 7, 2019August 8, 2019 Coding Rabbit

Maximum Subarray

Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.

Continue reading

August 7, 2019 Coding Rabbit

Longest Substring Without Repeating Characters

Given a string, find the length of the longest substring without repeating characters.

Continue reading

August 6, 2019 Coding Rabbit

K Closest Points to Origin

We have a list of points on the plane.  Find the K closest points to the origin (0, 0).

(Here, the distance between two points on a plane is the Euclidean distance.)

Continue reading

August 5, 2019 Coding Rabbit

Longest Palindromic Substring

Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.

Continue reading

August 5, 2019 Coding Rabbit

Median of Two Sorted Arrays

There are two sorted arrays nums1 and nums2 of size m and n respectively.

Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).

Continue reading

Posts navigation

Older posts
Newer posts
Create a website or blog at WordPress.com
Android Playground
Create a website or blog at WordPress.com
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Android Playground
    • Already have a WordPress.com account? Log in now.
    • Android Playground
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    Design a site like this with WordPress.com
    Get started