Welcome to Coding Practice with Kick Start 2022!

Google for Developers · Beginner ·📰 AI News & Updates ·4y ago

Key Takeaways

Get started with coding competitions using Google's Kick Start platform

Full Transcript

[Music] want to participate in coding competitions but not sure how to start then join coding practice with kickstart our beginner friendly four-day practice session provides you the opportunity to try out googler created problems without the pressure of a timed round or scoreboard you'll be provided with other tools to help you get started such as starter code and several coding languages and live help from google engineers who are available to answer your questions throughout the week at the end of the four-day session we hope you'll join us live as google engineers walk you through detailed problem solutions afterwards these videos along with problem analyses and test set data will be available to you on the participant dashboard whenever you want to dive back in or refresh your memory on how to solve a particular problem this practice session is for you if you are new to competitive programming looking to boost your skills before the next kickstart round eager to learn something new or just interested in connecting with a global community coding practice with kickstart is a great way for you to get comfortable solving algorithmic and mathematical style problems develop your coding skills and apply what you've learned in school and throughout your career all right how does coding practice with kickstart work if you haven't already create a coding competitions profile and register for kickstart at g dot co slash kickstart be sure to use an active email address as we will be sending you important updates and resources throughout the week when the practice session begins you'll head to the kickstart home page and click on the participate now button to get you to the problem dashboard in each session there will be a sample problem to help you get started you will also see four problems which you can work your way through in your own time throughout the week you'll notice the scoreboard is hidden so you will be the only one able to view your results you can jump into the detailed problem statement by clicking on the title of the problem let's walk through this sample problem together to familiarize yourself with the platform okay let's begin with the problem statement you have gathered n bags of candy and you want to distribute the candy amongst m kids the ice bag contains sea of eye pieces of candy you want to make sure that every kid gets the same amount of candy and that the number of pieces of candy they receive is the greatest possible then we've got our input the first line gives the number of test cases t then for each test case we have n bags of candy m kids and then c1 c2 all the way to cn pieces of candy per bag finally for our output we need to print out the number of pieces remaining after each child receives their share according to the rules i happen to be a visual person so i like to use the sample input to walk through a specific example and think through how i'd approach the problem for the first sample input i've got seven bags of candy which adds up to 28 pieces and i've got three kids if i start handing out candy i can give each kid nine pieces and have one left over remember each kid needs to receive the same amount of candy okay so my answer here is one and i think i can avoid manually handing out each piece of candy by using the modulus operator now it's time to code in the built-in editor on the right hand side i prefer python so i used python for this problem you can write code in a variety of languages so check out the faq for all supported languages remember these problems use standard input and standard output you won't and in fact you can't read from or print to a file if you're unfamiliar with how to read in and write out in your language of choice the coding section of the faq has some samples in the most popular languages keep in mind that you can read in the input a little bit at a time you don't have to do it all at once although they sometimes say never trust the inputs for kickstart you don't need to worry about verifying whether or not the input is correct it is i'm going to make a function to process each case my function has one argument the test case number i can start by making sure i can read in the input per the problem description the first input line of a given case will consist of two integers i'll read the line in with the input function and then split it that leaves me with a list of strings i'll use the python map function to turn it into integers and finally make it a tuple with the tuple function then i'll get the candy counts list in a similar way read it in split it make each element an integer with map and finally turn it into a list for outputting the answer i'll use the print function and these new fancy formatted string literals there are lots of ways to format strings use whatever works best for you if you're using a different language than python your method of input and output will be slightly different see the coding section of the faq for more details and a few examples now that i've got input and output figured out it's time for the actual computation work in our case we need to sum up all the candy bags to get the total number of pieces of candy i do this by looping through the candy counts list and adding each count to my total then i calculate the amount of candy remaining with total candy modulo num kids that handles an individual test case so as a final step we loop through and process each case one got you here our outputs start with case number one but our loop starts with zero so i add one to the case num to make sure it gets printed out correctly and then we're ready to submit our code here you can also test your code on our servers by toggling the test run mode button before actually clicking submit judgments of your code will show up in the top left one last tip don't forget to carefully read how the output should be formatted in our case here it's the word case then pound case number colon followed by your answer remember that for each problem your code is going to be tested against a whole bunch of cases not just the sample cases you see this is to make sure that you've thought about all possible inputs and coded up a solution that can handle them all while you can assume the input will always be valid don't forget to spend a bit of time thinking outside the box around what the inputs could look like in other words think about edge cases keep in mind that the actual problems you get will likely be a bit more challenging than this one but don't worry too much the principles of solving a problem are the same now that we've gone through this example problem you're ready to get started on solving the other practice problems if you are unsure how to frame your solution don't worry we've got you covered download the starter code offered in java c plus and python at the top of the problem statement to help you get started on your solution if you need additional assistance please utilize our ask a question button on the dashboard where a googler will be able to jump in and provide support you can also post on our facebook group to connect with the community ask questions and get helpful tips from fellow coders have a great week coding and learning more about kickstart grab a friend or two practice and most importantly have fun see you at the end of the week on our on demand video page for our problem walk through stream to watch how you can go about solving the problems you just attempted now go get coding

Original Description

Get prepared for coding competitions by participating in Coding Practice with Kick Start. It's a beginner-friendly four-day practice session to help you get comfortable solving fun algorithmic problems and boost your coding skills. Join Mairin Chesney, Senior Software Engineer, to learn how to create an account, navigate the Kick Start platform, tips to solve a problem, and more! After 20 years, Google's Coding Competitions came to a close with a final round, learn more here → https://goo.gle/3AcCVlf For more information about products, communities, and events visit the Google Developer website → https://goo.gle/3GVsrdC Subscribe to Google Developers → https://goo.gle/developers Chapters 0:00 - Introduction 1:17- How to create an account 1:41 - Kick Start platform 2:00 - Example problem 6:50 - If you need help, do this! 7:03 - Wrap up #KickStart
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Google for Developers · Google for Developers · 0 of 60

← Previous Next →
1 Developer Journey - Sunnyvale DSC Summit ‘19
Developer Journey - Sunnyvale DSC Summit ‘19
Google for Developers
2 How Google is working with students - Sunnyvale DSC Summit ‘19
How Google is working with students - Sunnyvale DSC Summit ‘19
Google for Developers
3 Starting your career in the Cloud - Sunnyvale DSC Summit ‘19
Starting your career in the Cloud - Sunnyvale DSC Summit ‘19
Google for Developers
4 The Solution Challenge  - Sunnyvale DSC Summit ‘19
The Solution Challenge - Sunnyvale DSC Summit ‘19
Google for Developers
5 Firebase - Sunnyvale DSC Summit ‘19
Firebase - Sunnyvale DSC Summit ‘19
Google for Developers
6 Cloud Hero - Sunnyvale DSC Summit ‘19
Cloud Hero - Sunnyvale DSC Summit ‘19
Google for Developers
7 Panel discussion  - Sunnyvale DSC Summit ‘19
Panel discussion - Sunnyvale DSC Summit ‘19
Google for Developers
8 The art of negotiation - Sunnyvale DSC Summit ‘19
The art of negotiation - Sunnyvale DSC Summit ‘19
Google for Developers
9 Courage to care, solve and share - Sunnyvale DSC Summit ‘19
Courage to care, solve and share - Sunnyvale DSC Summit ‘19
Google for Developers
10 Version 9 of Angular, Glass Enterprise Edition 2, path to DX deprecation, & more!
Version 9 of Angular, Glass Enterprise Edition 2, path to DX deprecation, & more!
Google for Developers
11 [DEPRECATING] Introducing a new series (Assistant for Developers Pro Tips)
[DEPRECATING] Introducing a new series (Assistant for Developers Pro Tips)
Google for Developers
12 Detecting memory bugs with HWASan, Bazel 2.1, Next ‘20 session guide, & more!
Detecting memory bugs with HWASan, Bazel 2.1, Next ‘20 session guide, & more!
Google for Developers
13 Why Podcast.app chose a .app domain name
Why Podcast.app chose a .app domain name
Google for Developers
14 Machine Learning Bootcamp Jakarta 2019
Machine Learning Bootcamp Jakarta 2019
Google for Developers
15 Android Studio 3.6, Android 11 Developer Preview, Kubeflow 1.0, & more!
Android Studio 3.6, Android 11 Developer Preview, Kubeflow 1.0, & more!
Google for Developers
16 [DEPRECATING]  Importance of community (Assistant on Air)
[DEPRECATING] Importance of community (Assistant on Air)
Google for Developers
17 Why the Flutter team switched from .io to a .dev domain name
Why the Flutter team switched from .io to a .dev domain name
Google for Developers
18 3 website-building tips from .dev creators
3 website-building tips from .dev creators
Google for Developers
19 Why NimbleDroid chose a .app domain name
Why NimbleDroid chose a .app domain name
Google for Developers
20 Android Platform Codelab, Bazel 2.2, Maps Android Utility Library v1.0, & more!
Android Platform Codelab, Bazel 2.2, Maps Android Utility Library v1.0, & more!
Google for Developers
21 Google for Games Developer Summit: A free, digital experience for game developers
Google for Games Developer Summit: A free, digital experience for game developers
Google for Developers
22 Inspecting Home Graph (Assistant for Developers Pro Tips)
Inspecting Home Graph (Assistant for Developers Pro Tips)
Google for Developers
23 Google for Games Developer Summit Keynote
Google for Games Developer Summit Keynote
Google for Developers
24 Stadia Games & Entertainment presents: Keys to a great game pitch (Google Games Dev Summit)
Stadia Games & Entertainment presents: Keys to a great game pitch (Google Games Dev Summit)
Google for Developers
25 Empowering game developers with Stadia R&D (Google Games Dev Summit)
Empowering game developers with Stadia R&D (Google Games Dev Summit)
Google for Developers
26 Supercharging discoverability with Stadia (Google Games Dev Summit)
Supercharging discoverability with Stadia (Google Games Dev Summit)
Google for Developers
27 Stadia Games & Entertainment presents: Creating for content creators (Google Games Dev Summit)
Stadia Games & Entertainment presents: Creating for content creators (Google Games Dev Summit)
Google for Developers
28 Bringing Destiny to Stadia: A postmortem (Google Games Dev Summit)
Bringing Destiny to Stadia: A postmortem (Google Games Dev Summit)
Google for Developers
29 Live Captioning in Google Slides
Live Captioning in Google Slides
Google for Developers
30 [DEPRECATING]  User engagement for the Google Assistant
[DEPRECATING] User engagement for the Google Assistant
Google for Developers
31 TensorFlow Dev Summit ‘20, Google for Games Dev Summit, Cloud AI Platform Pipelines, & much more!
TensorFlow Dev Summit ‘20, Google for Games Dev Summit, Cloud AI Platform Pipelines, & much more!
Google for Developers
32 Top 5 from the TensorFlow Dev Summit 2020
Top 5 from the TensorFlow Dev Summit 2020
Google for Developers
33 Developer Student Clubs 2019 Turkey Leads Summit
Developer Student Clubs 2019 Turkey Leads Summit
Google for Developers
34 Building simpler payment experiences | Google Pay Plugin for Magento 2
Building simpler payment experiences | Google Pay Plugin for Magento 2
Google for Developers
35 Become A Developer Student Club Lead
Become A Developer Student Club Lead
Google for Developers
36 Firebase Kotlin Extensions, ARM apps on the Android Emulator, Angular v9.1, & more!
Firebase Kotlin Extensions, ARM apps on the Android Emulator, Angular v9.1, & more!
Google for Developers
37 Test suite for Smart Home (Assistant for Developers Pro Tips)
Test suite for Smart Home (Assistant for Developers Pro Tips)
Google for Developers
38 Google Play updates, Bazel 3.0, Business Console for Google Pay, & more!
Google Play updates, Bazel 3.0, Business Console for Google Pay, & more!
Google for Developers
39 How to use error logs (Assistant for Developers Pro Tips)
How to use error logs (Assistant for Developers Pro Tips)
Google for Developers
40 Contact Center AI, Android Studio 4.1 Canary 5, TensorFlow QAT API, & more!
Contact Center AI, Android Studio 4.1 Canary 5, TensorFlow QAT API, & more!
Google for Developers
41 WebView DevTools, Kotlin meets gRPC, Flutter CodePen support, & more! (Episode 200)
WebView DevTools, Kotlin meets gRPC, Flutter CodePen support, & more! (Episode 200)
Google for Developers
42 Offline handling for Smart Home (Assistant for Developers Pro Tips)
Offline handling for Smart Home (Assistant for Developers Pro Tips)
Google for Developers
43 Android 11 Dev Preview 3, Google Fonts for Flutter, Shielded VM, & more!
Android 11 Dev Preview 3, Google Fonts for Flutter, Shielded VM, & more!
Google for Developers
44 Machine Learning Foundations: Ep #1 - What is ML?
Machine Learning Foundations: Ep #1 - What is ML?
Google for Developers
45 Flutter web support updates, BigQuery materialized views, Cloud Spanner emulator, & more!
Flutter web support updates, BigQuery materialized views, Cloud Spanner emulator, & more!
Google for Developers
46 Computer vision by building a neural network with TensorFlow | Machine Learning Foundations
Computer vision by building a neural network with TensorFlow | Machine Learning Foundations
Google for Developers
47 Machine Learning Foundations: Ep #3 - Convolutions and pooling
Machine Learning Foundations: Ep #3 - Convolutions and pooling
Google for Developers
48 Android 11 Beta plans, Flutter 1.17, Dart 2.8, & much more!
Android 11 Beta plans, Flutter 1.17, Dart 2.8, & much more!
Google for Developers
49 Machine Learning Foundations: Ep #4 - Coding with Convolutional Neural Networks
Machine Learning Foundations: Ep #4 - Coding with Convolutional Neural Networks
Google for Developers
50 Google Developers ML Summit
Google Developers ML Summit
Google for Developers
51 Real-world image classification using convolutional neural networks | Machine Learning Foundations
Real-world image classification using convolutional neural networks | Machine Learning Foundations
Google for Developers
52 Adobe XD support for Flutter, Architecture Framework, temporary closures with Places API, & more!
Adobe XD support for Flutter, Architecture Framework, temporary closures with Places API, & more!
Google for Developers
53 Machine Learning Foundations: Ep #6 - Convolutional cats and dogs
Machine Learning Foundations: Ep #6 - Convolutional cats and dogs
Google for Developers
54 Machine Learning Foundations: Ep #7 - Image augmentation and overfitting
Machine Learning Foundations: Ep #7 - Image augmentation and overfitting
Google for Developers
55 Announcing Firebase Live, Flutter Day, Java 11 on Google Cloud Functions, & more!
Announcing Firebase Live, Flutter Day, Java 11 on Google Cloud Functions, & more!
Google for Developers
56 Machine Learning Foundations: Ep #8 - Tokenization for Natural Language Processing
Machine Learning Foundations: Ep #8 - Tokenization for Natural Language Processing
Google for Developers
57 Android 11 Beta, Google Play Asset Delivery, Firebase Crashlytics SDK, & much more!
Android 11 Beta, Google Play Asset Delivery, Firebase Crashlytics SDK, & much more!
Google for Developers
58 Natural Language Processing: Using sequencing APIs in TensorFlow | Machine Learning Foundations
Natural Language Processing: Using sequencing APIs in TensorFlow | Machine Learning Foundations
Google for Developers
59 Build a sarcasm classifier using NLP and TensorFlow | Machine Learning Foundations
Build a sarcasm classifier using NLP and TensorFlow | Machine Learning Foundations
Google for Developers
60 AR Realism with the ARCore Depth API
AR Realism with the ARCore Depth API
Google for Developers

Related Reads

Chapters (5)

Introduction
1:41 Kick Start platform
2:00 Example problem
6:50 If you need help, do this!
7:03 Wrap up
Up next
How SpaceX Holds the World's Biggest Rocket
Silism
Watch →