ProCodeCG – Private Coding Class – Algorithm & Data Structure – Day #5


The last day of private class on algorithm & data structure 😉 Today we learned more about frequency analysis

Screen Shot 2020-07-28 at 12.01.14

we learned of to trim out unwanted symbols and whitespaces etc.

Screen Shot 2020-07-28 at 10.25.00

Screen Shot 2020-07-28 at 10.47.32

we learned about regex and data preprocessing

Screen Shot 2020-07-28 at 10.47.40

and how to sort a dictionary in ascending or descending orders

Screen Shot 2020-07-28 at 10.50.49 Screen Shot 2020-07-28 at 10.53.55

Screen Shot 2020-07-28 at 10.57.34

the result 🙂

Screen Shot 2020-07-28 at 10.57.37

then we moved on the learn about graph

Screen Shot 2020-07-28 at 11.19.46

about json and xml

Screen Shot 2020-07-28 at 11.19.53

how to parse data from json

Screen Shot 2020-07-28 at 11.20.00

the example is crawling data from instagram and count the appearance of words in caption correlated with a hashtag

Screen Shot 2020-07-28 at 11.27.02

Screen Shot 2020-07-28 at 11.27.46

then we started to built our own simple graph

Screen Shot 2020-07-28 at 11.37.34

Screen Shot 2020-07-28 at 11.39.02

and analyse the representation in our head compared to the code 😉

Screen Shot 2020-07-28 at 11.51.01

Screen Shot 2020-07-28 at 11.49.36

graph is basically built with dictionary

Screen Shot 2020-07-28 at 11.52.12

we are finding the shortest path from one node to another 😉

Screen Shot 2020-07-28 at 11.56.53

this is the result

Screen Shot 2020-07-28 at 11.59.08

same with we figured out manually 😉

Screen Shot 2020-07-28 at 11.59.24

these are the files from our 5-days training 😉 well-documented 😉 hoping that the class is useful for you James! until next time 🙂

Screen Shot 2020-07-28 at 12.00.47


ProCodeCG – Private Coding Class – Algorithm & Data Structure – Day #4


Today we reviewed about data structures in Python, comparing sorting algorithm and then start to learn about searching algorithm.

We started with a simple code to search one element out a list

Screen Shot 2020-07-23 at 10.47.09 Screen Shot 2020-07-23 at 10.55.05

and then find the position

Screen Shot 2020-07-23 at 11.00.25 Screen Shot 2020-07-23 at 11.01.32

then we learned about simple caesar cipher because we want to do frequency analysis to implement our new skill about dictionary and searching

Screen Shot 2020-07-23 at 11.05.57 Screen Shot 2020-07-23 at 11.07.04

Screen Shot 2020-07-23 at 11.10.28

Screen Shot 2020-07-23 at 11.17.32

we started the frequency analysis code with a simple code to count occurrence of an element in a list and also learn how to use a dictionary

Screen Shot 2020-07-23 at 11.19.01 Screen Shot 2020-07-23 at 11.19.33

Screen Shot 2020-07-23 at 11.21.03 Screen Shot 2020-07-23 at 11.25.08

Screen Shot 2020-07-23 at 11.34.12 Screen Shot 2020-07-23 at 11.40.22

and we need to sort it

Screen Shot 2020-07-23 at 11.43.16 Screen Shot 2020-07-23 at 11.44.05

we have found way to count each distinct element of a list with associative array a.k.a dictionary

Screen Shot 2020-07-23 at 11.55.40

this is the homework 😉 we’re going to finish the frequency analysis code next week before we explore more about tree and graphs 🙂

Screen Shot 2020-07-23 at 12.00.37

ProCodeCG – Private Coding Class – Algorithm & Data Structure – Day #3


Day #3 of Algorithm & Data Structure Private Class 🙂

We went through the homework about nested loop

Screen Shot 2020-07-21 at 14.07.44

Screen Shot 2020-07-21 at 14.09.07 Screen Shot 2020-07-21 at 14.09.59

Screen Shot 2020-07-21 at 14.12.08 Screen Shot 2020-07-21 at 14.15.00

Screen Shot 2020-07-21 at 14.18.44

and then we learned about simple sorting

Screen Shot 2020-07-21 at 14.26.10 Screen Shot 2020-07-21 at 14.29.18

then we develop the code from scratch, starting with the swap function

Screen Shot 2020-07-21 at 14.33.41 Screen Shot 2020-07-21 at 14.41.08

then we started with only three numbers to sort

Screen Shot 2020-07-21 at 14.44.26 Screen Shot 2020-07-21 at 14.51.47

Screen Shot 2020-07-21 at 14.54.16 Screen Shot 2020-07-21 at 14.57.44

Screen Shot 2020-07-21 at 15.03.11 Screen Shot 2020-07-21 at 15.17.17

Screen Shot 2020-07-21 at 15.27.41

then we create the code for more numbers and it worked 😉

Screen Shot 2020-07-21 at 15.34.03

Screen Shot 2020-07-21 at 15.47.15 Screen Shot 2020-07-21 at 15.49.31

Screen Shot 2020-07-21 at 15.51.03 Screen Shot 2020-07-21 at 15.57.34

Screen Shot 2020-07-21 at 15.58.26 Screen Shot 2020-07-21 at 15.59.31

will learn more about sorting and searching in the next class 🙂

ProCodeCG – Private Coding Class – Algorithm & Data Structure – Day #1


Today we learn about programming languages, datatypes and basic principles of programming: sequences, looping, conditionals dan functions 🙂

Screen Shot 2020-07-14 at 10.46.55

we started with looping

Screen Shot 2020-07-14 at 10.53.02

and then operators

Screen Shot 2020-07-14 at 10.54.41

and then conditionals

Screen Shot 2020-07-14 at 11.01.17


Screen Shot 2020-07-14 at 11.05.21

then we did some challenges 🙂 this one is how to determined whether a number is prime or not

Screen Shot 2020-07-14 at 11.09.13

Screen Shot 2020-07-14 at 11.10.39

we learned different techniques and logics to solve the problem

Screen Shot 2020-07-14 at 11.19.26

comparing different codes

Screen Shot 2020-07-14 at 11.22.32

and modify it to be able to display list of prime numbers in a certain ranges 🙂

Screen Shot 2020-07-14 at 11.31.34

we’re going to learn about data structures in the next class 😉

ProCodeCG Kids Private Coding Class – Python Programming – 17 Feb 2020


Today we’re going to learn data structure and Python 😉


installing Jupyter Notebook because Tyo wants to learn how to use it 🙂


Notes from the ITB class Tyo sitting in today 😉



fixing conflicting Python kernels and Jupyter Notebook issues 😀



ready to go with Jupyter Notebook 😉




now start to learn about list


and looping, and conditionals

IMG_3260 IMG_3261



what we learned today:



linked-list, double linked-list








the summary 😉


we worked nonstop 3 hours straight


till dusk 😀


*Photos and videos are also available here

ProCodeCG – Coding Camp End 2019 – Creating Games, Python Programming & GO LANG – Day #1 – 23 Dec 2019


Today we learn 3 topics at the same time 🙂

Tasaq is learning to create games


we did some warming ups with drag and drop programming


IMG_8019 IMG_8023

IMG_8027 IMG_8029


Tasaq finished 2 challenge today but before we took a pic of it, the laptop ran out of battery and we lost it 🙂


now Tasaq is ready to create the game

IMG_8034 IMG_8036

IMG_8053 IMG_8054

Syafaq (before the class)


did some quick warming ups too



and then started to create a Space Invader 😉


IMG_8044 IMG_8045

IMG_8047 IMG_8048


awesome progress for today 🙂 tomorrow we will add more features 😉


Djalu is ready to learn more about GO Language 😉

IMG_8005 IMG_8004


the menu for today: data type, looping, conditionals and functions


IMG_8010 IMG_8020

IMG_8038 IMG_8049

we are working a program to sort numbers 😉


so today we learned about array, slice and how to swap variables


Ibam is learning Python Programming 😉


Ibam went through the exercises in the handout, and will be given challenges to solve tomorrow 😉


IMG_8021 IMG_8022

IMG_8028 IMG_8035

he had started encryption 🙂


Break time and we found Tasaq like this (pretending to be asleep) 😀


The class

IMG_8007 IMG_8024

IMG_8046 IMG_8033

*Photos and videos are also available here