Advanced Search
Search Results
289 total results found
Index as a Hash Key
Counting Characters in a String
Need to know: Dictionary, for loop def count_characters(string): counts = {} for char in string: if char in counts: counts[char] = counts[char] + 1 else: counts[char] = 1 return counts # Example...
Anagram
An anagram is word switch or word play. It is the result of rearranging the letters of a word or phrase to produce a new word or phrase, while using all the original letters only once. In interviews, usually we are only bothered with words without spaces in t...
Palindrome
Palindrome Worse approaches Reversing the String:You can reverse the string (using slicing like s[::-1] in Python) and then compare it to the original. This is very concise but uses O(n) additional space. Recursion:A recursive approach can check the...
System Design Overview
Yes, product design in system design interviews is a great place to start for a few reasons, especially considering your multidisciplinary background as a software engineer, prototyper, and technical artist. Here's why and how to approach i...
01_Event-Driven Programming
Event-driven programming is a programming paradigm where the program reacts to events, such as user actions, sensor inputs, or system-generated signals. Instead of following a strict sequence of commands, the program listens for events and responds when they o...
02_Object Oriented Programming
03_Declarative Programming
04_Functional Programming
Functional programming (FP) is a programming paradigm focused on writing software by composing and applying pure functions, avoiding shared state, and minimizing side effects. It's particularly well-suited for mathematical computations, data transformations, a...
Brute Force
The brute force approach tries every possible combination to check for a solution, without leveraging any special properties or optimizations of the data (such as sorted order). Typically involves: Nested loops Outer Loop traverses the array for the fir...
Questions
Information Overload
In "The Organized Mind," Daniel J. Levitin explores how the modern world’s overwhelming amount of information impacts our ability to think clearly and make decisions. Drawing on insights from psychology, neuroscience, and cognitive science, Levitin provides ...
Training Datasets
toss in real and fake data occlusion and different lighting emotion multiple angles
cmake
New Page
✅ Vectors describe positions or directions within a coordinate space.✅ Matrices describe how to transform vectors from one space to another. [ Xaxis.x Yaxis.x Zaxis.x Tx ][ Xaxis.y Yaxis.y Zaxis.y Ty ][ Xaxis.z Yaxis.z Zaxis.z Tz ][ 0 0 ...
Cheat Sheet
If possible. Ask what is the biggest problem the role is trying to soive 1–2 minutes = 250–300 words → Ideal for most interview answers 3+ minutes = 400+ words → Use for case studies or portfolio reviews, if asked And always end with “did that ...
Spaces
Tier 1 - Cartesian Coordinate Spaces Space Dim. Why It’s Core Aliases Translation Vector What It Means UV Space 2D Texture sampling, blending, animation, atlases, UI masking Texture space, Texcoord space, 2D UVs (0.5, 0.5) The center ...
Questions
Sweet! Here are a few 3D math-flavored Python coding interview questions tailored for tech art — with increasing difficulty. I can go over answers/solutions with you too whenever you're ready. 🟢 Easy: Vector Basics 1. Find the direction vector between two ...
File Handling
🗂️ Python File Handling — Q & A (with code) Q1: How do you read a file line-by-line safely in Python? A: with open('data.txt', 'r') as f: for line in f: print(line.strip()) Q2: How do you write a list of lines to a file in Python? A: ...
Loops
🟢 Standard Use when you want to loop directly over the items (values only). Input Example Output ["apple", "banana"] for fruit in ["apple", "banana"]: print(fruit) apple banana "hi" for char in "hi": print(char) h i { "a": 1,...