namikaze: My solution:def sort_by_frequency(arr): fmap = {} for num in arr: fmap[num] = fmap.get(num, 0) + 1 arr = [ (v,k) for k,v in fmap.items() ] arr.sort(reverse=True) return [ b for a,b in arr ] Let's see yours. You can write it in one line of code if you can import Counter a = [1,2,6,2,3,7,7,5,7,6,2,7] from collections import Counter list(list(zip(*Counter(a).most_common()))[0])
|
UrFears: Hi Bosses, so I have been into product design for a while now, and I'm thinking of what next.
As someone that wants to build a career around tech, I really need advice.
I have Japa in mind through Study routes, while I have a B.sc in Computer Science, I don't really want to major in it, Since I'm not strong in programming, DSA, etc, and I don't know my career prospects with an M.Sc in Computer Science (as this isn't really a speciality) ..
I have been making researches on schools in USA, Canada, & UK, Most don't offer M.sc in UI/UX Design, though I mostly see for Human - Computer interaction (HCI), which is actually almost the same as Ui/Ux. But Having a M.sc in HCI, I don't feel it might really worth it.
So, I'm thinking of moving into Management , Product/Project Management to be Precise, I feel courses in management have more job Prospects, and in the long run, I would actually love to manage devs & designers in building products, from start to finish. I'd like to move into IT consultancy at the peak of my career.
Right now, I'm currently taking a course on Frontend development, I'm not really going in-depth, I just want to be able to code-up my Basic UIs, and I believe a knowledge in programming would help in my product management too in the long run I think you have it pretty much figured out. If you aren't that interested in programming, you can still work in tech for sure. There are still tons of opportunities and your background in computer science gives you the needed advantage. You could focus on being a product manager, program manager, project manager, etc. Those are skills in tech that sometimes require less coding experience. Nevertheless, having some coding experience may put your in better stead. If I were you, I'd focus on getting that masters in the US or Canada, and not the UK. There's no question you are automatically exposed to many opportunities if you go to these countries to pursue graduate studies. You have to be aware there's a lot more competition however, and you should be ready to distinguish yourself. Obtaining some external certifications may help here with distinguishing yourself. If you are interested in product management for example, look into some of the certifications offered by The Product School, or try to get some Google stuff. And yeah, please take the front-end coding seriously, even if you wont' use it. A program manager with good knowledge of front-end coding is better than one without. |