Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 17 23:28

    FreeTymeKiyan on master

    Update 412 FizzBuzz with one mo… (compare)

  • Dec 07 2020 01:36
    forest5013 removed as member
  • Oct 16 2019 06:12

    FreeTymeKiyan on master

    Update 412 FizzBuzz (compare)

  • Oct 12 2019 21:57

    FreeTymeKiyan on master

    Update 410. Split Array Largest… (compare)

  • Oct 08 2019 04:07

    FreeTymeKiyan on master

    Add 408 Longest Palindrome (compare)

  • Oct 06 2019 19:57

    FreeTymeKiyan on master

    Add 408 Valid Word Abbreviation… (compare)

  • Oct 05 2019 20:30

    FreeTymeKiyan on master

    Update 42.Trapping Rain Water Add 407 Trapping Rain Water 2 (compare)

  • Sep 08 2019 04:46

    FreeTymeKiyan on master

    update 406 Queue Reconstruct By… (compare)

  • Sep 08 2019 01:29

    FreeTymeKiyan on master

    update 406 Queue Reconstruction… (compare)

  • Sep 01 2019 06:55

    FreeTymeKiyan on master

    update 404 sum of left leaves add 405. Convert A Number To He… (compare)

  • Aug 24 2019 23:57

    FreeTymeKiyan on master

    add 403 Frog Jump (compare)

  • May 27 2019 23:01

    FreeTymeKiyan on master

    add RansomNote, Lexicographical… (compare)

  • May 27 2019 22:29

    FreeTymeKiyan on master

    add DesignHitCounter, MaxSumOfR… (compare)

  • May 27 2019 22:10

    FreeTymeKiyan on master

    add DesignSnakeGame, RussianDol… (compare)

  • May 27 2019 19:32

    FreeTymeKiyan on master

    add MovingAverageFromDataStream… (compare)

  • May 27 2019 19:22

    FreeTymeKiyan on master

    add LongestSubstringWithAtMostK… (compare)

  • May 27 2019 18:52

    FreeTymeKiyan on master

    add CreateMaximumNumber, CountO… (compare)

  • May 27 2019 18:25

    FreeTymeKiyan on master

    add AdditiveNumber, RangeSumQue… (compare)

  • May 27 2019 18:02

    FreeTymeKiyan on master

    add ZigzagIterator, WordPattern… (compare)

  • May 27 2019 00:18

    FreeTymeKiyan on master

    add Encode and Decode Strings, … (compare)

ak47777zz
@ak47777zz
1
Chuanrui Li
@lichuanr
nice app
Yang
@FreeTymeKiyan
Thanks!
Hey, guys! The latest version would be even better.
First, the problems are divided into different levels and topics.
In problem description, I update the font family to monospace to achieve better format.
You can also random pick one problem if you just don't know where to start.
It will published very soon!
Chuanrui Li
@lichuanr
In future, may be we can have more than 200 questions
It will be very nice
Awesome app ever
Yang
@FreeTymeKiyan
We definitely will. And not only leetcode will be included, we will even have more problems from different online judges, say lintcode, hackerrank etc.
But right now, let's cover the most common problems first so that you guys can benefit most from it.
Chuanrui Li
@lichuanr
Just check out the latest version. Pretty nice
my favourite part is the solution. Very detailed explanation.
If the app can include more than 200 questions, it will be awesome.
Yang
@FreeTymeKiyan
I appreciate your feedbacks and support. Please help me spread the word and share the APP if it really helps.
It would also boost my dev speed if there are more users. Full solution is on the way.
Chuanrui Li
@lichuanr
For sure, I have already told 5 of my friends
They all like your app
Yang
@FreeTymeKiyan
So great to hear that! Appreciate it!
AnthonyInProgress
@zhuangdaz
Awesome repos!
Thank you very much!
Yang
@FreeTymeKiyan
Thanks!
Ronak Shah
@ronakshah725
@FreeTymeKiyan where can I find the app. Sounds interesting.
Ivar
@good1uck

i have a problem.

(Javascript)LEETCODE NO.17 , run time error when after submitting but do pass the test when i run the code
https://leetcode.com/problems/letter-combinations-of-a-phone-number/submissions/

My code:

/**
 * @param {string} digits
 * @return {string[]}
 */
var letterCombinations = function(digits) {

    let map=['','','abc','def','ghi','jkl','mno','pqrs','tuv','wxyz']

    let nums = digits.split('')

    let code = []
    nums.forEach(item=>{
        if(map[item]){
            code.push(map[item])
        }
    })
    let comb = (arr)=>{
        let tmp=[]
        for(let i=0;i<arr[0].length;i++){
            for(let j=0;j<arr[1].length;j++){
                tmp.push(`${arr[0][i]}${arr[1][j]}`)
            }
        }
        arr.splice(0,2,tmp)
        if(arr.length>1){
            comb(arr)
        }
        else{
            return arr[0]
        }
        return arr[0]
    }
    return comb(code)
};

error message

Line 19: TypeError: Cannot read property 'length' of undefined
Rahul Agrawal
@coolrahul799_gitlab
hey guys,
I am having a trouble
class Solution {
public:
    vector<vector<int>> flipAndInvertImage(vector<vector<int>>& A) {
        int count=0;
        for(auto i : A)
        {   count=i.size();
            // cout << i[0] <<endl;
            for(int j=0;j<i.size()/2;j++)
            {
                 int temp = i[count-1];
                cout << i[j] <<endl;
                cout << i[count-1] <<endl;
                i[count-1] = i[j];
                i[j] = temp;
                 --count;
                cout << i[j] <<endl; 
                cout << i[count-1] <<endl;
//                 if(j!=(count-1))
//                 {

//                    cout << i[j] <<endl; 

//                 }
            }    

        }
        return A;
    }
};
why this code isn't working
i don't know
plz help