Questions tagged [similarities]

The tag has no usage guidance.

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
158 views

PSET6: Similarities: More: General Advice

Just looking for some general advice for pset6 similarities more. I went for more (rather than less) as I have had some experience with python and dynamic programming prior to CS50. However I have ...
1
vote
0answers
377 views

I don't understand the meta tag “shrink-to-fit=no”

I read so much about this tag, but I'm a little confuse still. This is one of the post and here is another when I read about the subject. What I understand is that the pages were written first with ...
1
vote
1answer
51 views

PSET 6 Similarities no display from log

I am working on the PSET6 more. My code passes the check50, and it displays the comparing table in the website. However, nothing is showing up for the log operations. I have around for answers but I ...
0
votes
1answer
96 views

PSET 7 similarities substrings function seems ok but dont pass test

I make a substrings function, it seems to work for me, but i cant pass check. :( handles one substring in common Expected 1 matches, not 0 :( handles multiple substrings in common Expected 4 ...
0
votes
2answers
51 views

Can you help with my thinking in resolving this problem for similarities?

I believe in the video walkthrough, the guy said that it is possible to tell the next steps just from the numbers. However, I can think of several examples of why I don't think this can be so. Take ...
0
votes
1answer
144 views

similarities (less) invalid algorithm

My three algo's pass check50 and tests when running directly, but when uploading files / choosing the algorithm, I either get: 1) 400: The browser (or proxy) sent a request that this server could not ...
0
votes
1answer
129 views

pset6 similarities How do I fill the rest of cells in edit distance algorithm?

I have the base cases but I don't know how to access them and compute to choose the better operation and save a tuple in the cells from enum import Enum class Operation(Enum): """Operations""" ...
0
votes
2answers
142 views

pset6/similarities more: what is the purpose of enumeration in the Operation class?

Currently tackling pset6 similarities more, and I'm trying to figure out what the purpose of enumeration is for in the Operation class. Here is the code taken from the helpers.py file: class ...
0
votes
1answer
508 views

pset6 similarities help with lines

I've been writing the code for lines and I think i've finally started to figure it out. I'm having some trouble with making the lines into a variable and then comparing them. I'm not sure that this ...