• Breaking News

    Saturday, April 4, 2020

    10 algorithms every computer science student must implement at least once in life Computer Science

    10 algorithms every computer science student must implement at least once in life Computer Science


    10 algorithms every computer science student must implement at least once in life

    Posted: 03 Apr 2020 08:54 AM PDT

    I'm also going to avoid the obvious ones e.g. Binary searches and hash tables. And I'll avoid some super esoteric ones.

    Some of these are so within reach, that they even form actual coding interview questions! Hope you find them as much fun as I did.

    In no particular order:

    • Plagiarism detection, using Rabin Karp String matching
      • String matching algorithms are pervasive in software. One particularly fun one, is Rabin Karp, which is used in Plagiarism detection. As a student in CS (or in any major), plagiarism detection should be of interest ;-)
      • Rabin Karp is relatively easy to implement. See this: Rabin–Karp algorithm - Wikipedia
      • Rabin Karp has also inspired a string matching routine in Zlib (one of the most popular un/zip libraries ever). See this, directly into the source code.
    • Matching users to servers, using Gayle-Shapely Algorithm for Stable Marriage problem
      • This is a beautiful algorithm for fair matching. Simple, elegant and effective. In its core form, it's also straightforward to implement. Has numerous applications. See: Stable marriage problem - Wikipedia
    • A toy implementation of Viterbi algorithm
      • Ubiquitous in cell phone technology, and many other applications, Viterbi algorithm is a Dynamic Programming based algorithm that finds the most likely sequence of states.
      • See this toy implementation: http://homepages.ulb.ac.be/~dgon...
    • Music Search using Fast Fourier Transforms (FFT)
    • Implement RSA algorithm
    • Safe Browsing (or similar) using Bloom filters
      • Bloom filters found very rare usage until the world got more online and we hit scale. But these days, we see new applications very frequently.
      • Chrome browser uses Bloom filters to make preliminary decision on safe browsing. See some novel applications here.
    • Implement an LALR parser
    • Treemap using Red Black Trees!
      • RB Trees are not algorithms, but they are famed enough, that no discussion of tantalizing DS/Algorithms is complete without discussing them.
      • The smoothest way to see/implement RB Trees, is to look at Treemap implementation in Java.
    • Circle Drawing using Bresenham's algorithm
      • Ever wondered, how circles are drawn on the screen, with minimal jaggedness (aliasing)? Bresenham's elegant algorithm is at play here. See a version here: Circle Generation Algorithm .
      • A refreshing use of a similar algorithm, is to make properly sized tabs in Chrome. Something we see almost every day. Such hidden gems!
      • See here for some more uses of it: Bresenham
    • Implement PageRank

    As you'll see, most useful algorithms are usually not the hardest ones. They are often the most straightforward ones, ones that are easily understood and thus move the world forward.

    I hope you will enjoy them.

    submitted by /u/saadmrb
    [link] [comments]

    How automated machine learning will help your business

    Posted: 04 Apr 2020 04:11 AM PDT

    Data and computer science

    Posted: 04 Apr 2020 12:29 AM PDT

    Hey I'm currently a pre-IB high school student and I've been wanting to learn python for a long time. Does anybody have good advice on where to start or learn good python or computer and data science concepts?

    submitted by /u/cortzp
    [link] [comments]

    What is a website/Reddit thread specifically designed for beginner competitive coders?

    Posted: 04 Apr 2020 02:13 AM PDT

    I'm looking to get better at competitive programming. What are some websites/Reddit threads where people post questions specific to competitive programming?

    submitted by /u/10101Guns-
    [link] [comments]

    Leetcode 4th Day Challenge of 30 Day Challenge Code - Solution

    Posted: 04 Apr 2020 02:00 AM PDT

    Find the equation of the polynomial function which represents the following data: (0,4),(1,4),(2,18),(3,58),(4,136),(5,264)

    Posted: 03 Apr 2020 04:24 PM PDT

    Please help..

    submitted by /u/FRS1111
    [link] [comments]

    Point (1,1) on f(x) is transformed by 3f(x-1)+2. What is the new point? Solution: f(x)= 3f(x-1)+2 1= 3f(1-1) +2 , please help, I have find the value of "f" but after "f" will be zero, if I substitute (x, y) values

    Posted: 03 Apr 2020 07:04 PM PDT

    What are some up and coming or hot topics a CS undergrad should look into or try and specialize in?

    Posted: 03 Apr 2020 11:42 AM PDT

    [R] Facebook AI RegNet Models Outperform EfficientNet Models, Run 5x Faster on GPUs

    Posted: 03 Apr 2020 11:09 AM PDT

    In the recently published paper Designing Network Design Spaces, researchers from Facebook AI introduce a novel low-dimensional design space, RegNet, which produces simple, fast and versatile networks. In experiments, RegNet models outperform SOTA EfficientNet models and can be up to five times faster on GPUs.

    Here is a quick read: Facebook AI RegNet Models Outperform EfficientNet Models, Run 5x Faster on GPUs

    The original paper is here: Designing Network Design Spaces

    submitted by /u/Yuqing7
    [link] [comments]

    could someone help me with this code?

    Posted: 03 Apr 2020 07:42 PM PDT

    I'm coding these two projects that are due at 11:30 and I cannot figure it out. I can pay anyone who tutors me/helps me. here is the link to the project. Edit: sorry, to clarify i need TUTORING, not someone to write it for me.

    http://www.edparrish.net/cs11/20s/asn08.php

    submitted by /u/neptunedood
    [link] [comments]

    Best graduate courses for Compilers, type theory, FP and related fields.

    Posted: 03 Apr 2020 10:09 AM PDT

    Day 29 of 100 Days of Leetcode Challenge - Maximum Subarray

    Posted: 03 Apr 2020 06:19 AM PDT

    Particle Swarm Optimizations Algorithm - Explained

    Posted: 03 Apr 2020 09:35 AM PDT

    IEEE Publication Standards

    Posted: 03 Apr 2020 08:44 AM PDT

    How do i find the standards for publication in an IEEE journal? Details such as recommended font/font size and margin widths? Particularly the IEEE/ACM Transactions on Audio, Speech, and Language Processing journal.

    Thanks for any help and sorry if I'm being stupid and this is in a really obvious place.

    SOLVED: I ended up finding the templates i needed here which in themselves described the information I needed: https://journals.ieeeauthorcenter.ieee.org/create-your-ieee-journal-article/authoring-tools-and-templates/ieee-article-templates/

    submitted by /u/bamfdan
    [link] [comments]

    PHP script to block every satellite in the world. Nice job Netflix!

    Posted: 03 Apr 2020 09:25 AM PDT

    No comments:

    Post a Comment