Комментарии:
Hope you all enjoy & learn from this video! Thanks freeCodeCamp for posting 🤠
If you have any questions about the interview, let me know as a reply to this message and I'll do my best to respond.
That plagiarism problem was tough. I was thinking maybe tokenize all strings in the book and create a counter for each token type per page number. If any books have high token matches per page, pull those pages and flag for human review.
ОтветитьComparing all books that way is impossible... you should use hashmin to get candidates of plagiarism or something like that
ОтветитьI would have challenged that the concept of pages doesn't make much sense for an e--reader.
ОтветитьI wouldn't include the business logic within the models...
ОтветитьHi me wahab surfali good 👍🏻
ОтветитьI couldn't do this.... I had one interview like this and I failed. My own voice would distract my thinking process. I just don't work this way. I have to hear myself thinking in order to write the code. I also would have been distracted by the interviewer peering over me. Thank God not a lot of interviews go like this. Most companies have an online test you can take or ask you a bunch of multiple-choice questions. Just because you can't verbalize what you're thinking very well doesn't make you a bad coder, or are even a worse coder than someone else who can verbalize what they're thinking.
ОтветитьA good project would be to implement the algorithm discussed in this interview.
ОтветитьI hate interview.
ОтветитьMan this wouldn't be for a JR position right? The plagiarism algo portion was pretty tough
ОтветитьEven though I'm a math graduate, I'm not sure if I'd be able to do any of these to save my life!
ОтветитьI wonder what datastructures are hidden beneath all that code
ОтветитьWe're sorry to inform you that we will not be moving forward with your application for software engineering role. We appreciate the time and effort you have put in this interview, but unfortunately there were stronger candidates. We will keep your CV in our records in case we have roles that better match your experience. We wish you the very best in your job search.
ОтветитьI know some simple coding not complex coding to get a job
ОтветитьSolving dynamic programming problems during an interview is so pointless...
Ответитьdamn i got a loooong way to go! ha! I knew that already but seeing this really makes it hit home. Just gotta take it one day at a time!
ОтветитьJust take what he says, paste into chat gpt, copy that, then past into vscode. done. 1 minute. next.
ОтветитьI understand this all as she says it, but if I had to pull all this out of my brain in an interview Id cry or leave
ОтветитьThis is pretty cool....but honestly I would cry if the interviewer started with , "Let's make a book application". I learned a lot today
ОтветитьCan someone get the kettle? it's been boiling for a while now
Ответитьwow designed library without author representation, coz who read books and know the authors those days? LOL
Ответитьlet's use typing, Python 3.10 allows it...I meain def content:string = ""
Ответитьgreat mock interview, i love this video.....🙂
Ответитьmy first thought was when you process each book for the first time, you convert every English word into a byte of bitmasks that says if it is a noun, verb, adverb, preposition, etc. when comparing books we first compare runs and sub-runs of word-types. if we find a match, then do the computationally longer English string comparisons. I haven't spent more than 2 minutes thinking about it, might be a dumb idea but I would have gone with it if put on the spot in an interview. Thoughts?
ОтветитьShe's mad beautiful
ОтветитьKindle been real quiet since this dropped 🤔
ОтветитьGreat video
ОтветитьAs a senior software engineer, I can testify to this.. worst interview I ever had in my life, but now the money or sooooooo gooooooodddddd....
Ответитьwhy does she choose a list verses choosing an array?
ОтветитьThis..
Wow!
I can't believe she did all that in 20 minutes.
I have to get back to it. What she did at 20 minutes would have taken me 2 hours...
"yeah"
Ответить"Are you ready to sit in front of a computer for 20 hours a day without overtime pay?"
"Yes."
"Great, when can you start?"
This is easier than I expected, Huh!
ОтветитьCoderpad? Well ok I failed already in the first 10s
ОтветитьYeah, fug it. I just realized coding is not for me and thank god for a.i. I don’t want to do mental gymnastics every day of my working life. That ish will burn me out real quick in a matter of months. To top it off, this ish is a lot of free work for just an interview. I’ll go become a plumber or an electrician.
ОтветитьAs someone who is poor in programming, there is something beautiful in seeing someone program so eloquently, like how we write paragraphs for a nice essay.
ОтветитьWOW HE AND SHE FIX THEIR PROGRAMS BY JUST "COMMENTING OUT" THE PROGRAM.
IF HE RAN IT WE WOULD SEE 100 ERRORS!!! THIS IS JUST GARBAGE!!
NOBODY HAS EVER ASKED ME TO WRITE A PROGRAM IN AN INTERVIEW.
THEY LEFT OUT THE MAIN THING AN SQL DB!!!!!!!!
ОтветитьGEE HE ASK HER TO WRITE A PYTHON PROGRAM AND HE CAN NOT ANSWER HER PYTHON
QUESTIONS????? DUMB DUMB DUMB
Great content big thanks
ОтветитьWouldn't have a simple id as plain number been enough? If its stored in an SQL database wouldn't id be able to act as primary key and therefor be distinct for every book and never repeat even if same book was removed and readded. Maybe i didn't understand, was id supposed to provide more info of what its representing? I would think that id for a user be it reader or author doesn't rly matter, its just back end thing therefor invisible to average user.
I guess if there were more tables needed for the storing of data that had same column names then you would need multi column id/PK. Well anyway it was a joy to watch this and brainstorm along.
Oh that Adele joke 😂
ОтветитьConclusion: You need to break every single principle of solid to become a software engineer.
ОтветитьMy thoughts:
1. use a heuristic: sha256 each sentence. store in an indexed db. parse each book and lookup. runtime cost: O(len of book * num of books)
2. use AI: grab embeddings using a model that maintains word context like doc2vec or data2vec. load embeddings in a vector database. for each book, utilize a k-nearest neighbors algorithm. I'm not sure if these algorithms and models can process this volume of data in a reasonable amount of time. However, these models can be invoked in parallel which might speed things up.
"Why are manhole covers round?"
Ответить