Menu

#Sorted

6 posts

Feed·
6 of 6 posts
Bubble Sort Explained with Simple Python Examples
📰
0Read More

Bubble Sort Explained with Simple Python Examples

DEV Community: beginners·Lavkush Kumar·1 day ago
#51mrpiZ4
#devtobeginners#devto#dev#pass#sort

Bubble sort explained in plain English: dry run pass by pass, basic and optimised Python code, real comparison counts, Big O, and how sorted() compares.

15s
0Read More

Doubt with Hackerrank company logo question

Reddit r/learnpython·u/PixelArtur·7 months ago
#HhAHif9u
#sorte#range#sorted#items#article

Why is it showing ''Wrong Answer?" Question: [https://www.hackerrank.com/challenges/most-commons/problem](https://www.hackerrank.com/challenges/most-commons/problem) Code: s = input() dic = {} for l in range(len(s)): if s[l] not in dic.keys():

15s