Skip to content

Instantly share code, notes, and snippets.

View usmanovrustam's full-sized avatar
:octocat:

Rustam Usmanov usmanovrustam

:octocat:
View GitHub Profile
@usmanovrustam
usmanovrustam / multiplicativePersistence
Last active July 13, 2022 12:04
Given an integer number, value, write a function that returns its multiplicative persistence.
int multiplicativePersistence(int value) {
int counts = 0;
int temp;
while (value > 9) {
temp = 1;
while (value > 0) {
temp *= value % 10;
value = (value ~/ 10);
}
value = temp;
@usmanovrustam
usmanovrustam / sumOf
Created July 13, 2022 12:05
Given a List of integers, return the sum of its elements.
int sumOf(List<int> integers) {
int result = 0;
for (var i = 0; i < integers.length; i++) {
result += integers[i];
}
return result;
}
@usmanovrustam
usmanovrustam / postgres-cheatsheet.md
Created January 2, 2024 22:47 — forked from Kartones/postgres-cheatsheet.md
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
Privacy Policy for Brain Blitz
Last Updated: December 29, 2025
This Privacy Policy describes how Rustam Usmanov ("we," "us," or "our") collects, uses, and discloses your information when you use our mobile application, Brain Blitz (the "App").
By using the App, you consent to the collection and use of your information as described in this policy.
1. Information We Collect
A. Information You Provide
Account Information: When you sign in using Apple, Google, or Facebook, we collect your name, email address, and profile photo handle to authenticate you and create your player profile.
Data Deletion Instructions
Last Updated: December 29, 2025
According to the Facebook Platform rules, we provide the following instructions for users who wish to delete their data from Brain Blitz.
How to Request Data Deletion
Since Brain Blitz is a mobile application, we do not currently have a fully automated web portal for deletion. However, you can request the complete deletion of your account and all associated data by following these steps:
Email Support: Send an email to our support team at [email protected].
Subject Line: Please use the subject line: "Request for Account Deletion - Brain Blitz".