Sandeep Ranasandrana.hashnode.dev·Jul 16, 2024DSA - Pattern Problem - IPrerequisite: Knowledge of JavaScript syntax Basic understanding of for loops and while loops Pattern * * * * * * Approach let str = ""; for (let i = 0; i < 3; i++) { for (let j = 3; j > i; j--) { str += "*"; } str += "\n"; } console....DiscussData Structures and Algorithms In Javascriptpatterns
Carol Dsilvacaroldsillva.hashnode.dev·Jul 16, 2024Day 06 of 100 days of code: Completed all patterns questionsCompleted the 22 pattern questions from the Strivers list. It helped me understand loops better as well as explore strings. I had the most fun solving this question void alphaTriangle(int n) { for(int i = 0; i<n; i++){ int start = 65+(n...Discuss·1 like100DaysOfCode
Hugh McCamphillhughmccamphill.com·Jul 12, 2024What?! How to improve your Test AutomationAfter 20 years of working with test automation, I like to think I've become quite good at it. Recently, I was advocating for a change in approach at a company I had just joined. I knew it was crucial to clearly explain my method for writing maintaina...Discuss·323 readstest-automation
Max Martínez Cartagenamaxmartinez.dev·Jun 29, 2024Adapter Pattern: Travel around the world as Pro Tennis PlayerImagine you are a professional tennis player who travel around the world for important tournaments but you are not able to speak any language other than English... So, in every non-english country you need someone to helps you with the speech. You mi...Discuss·1 likeObject Oriented Design Patternspatterns
Vineeth Chivukulavineethchivukula.hashnode.dev·Jun 25, 2024Understanding K-way MergeK-way Merge is a common algorithmic pattern that merges multiple sorted lists or arrays into a single sorted list. This pattern is particularly useful in problems involving external sorting, priority queues, and other applications where multiple sort...Discussk-way
Vineeth Chivukulavineethchivukula.hashnode.dev·Jun 25, 2024Understanding Top K ElementsTop 'K' Elements is a common problem where the goal is to find the top 'K' elements from a given dataset based on some criteria, such as frequency, value, or priority. This problem can be solved using various techniques, including heap-based solution...Discusstopkelements
Vineeth Chivukulavineethchivukula.hashnode.dev·Jun 25, 2024Understanding BacktrackingBacktracking is a general algorithmic technique that involves exploring all possible solutions by incrementally building candidates and abandoning a candidate ("backtracking") as soon as it determines that the candidate cannot lead to a valid solutio...Discuss·1 likebacktracking
Vineeth Chivukulavineethchivukula.hashnode.dev·Jun 25, 2024Understanding Merge IntervalsMerge Intervals involves combining overlapping intervals into a single interval. This problem is often encountered in scheduling applications, where intervals represent tasks or events that need consolidation. There are six different ways the interva...Discussintervals
Anaz S. Ajiajianaz.dev·Jun 24, 2024Flutter dan BLoC Pattern: Pengelolaan State yang EfisienHalo, teman-teman developer Flutter! Ketika bekerja dengan aplikasi Flutter yang kompleks, mengelola state dengan efisien menjadi tantangan yang sering dihadapi. Salah satu solusi yang populer adalah menggunakan BLoC Pattern. Dalam postingan ini, kit...DiscussFlutter
Vineeth Chivukulavineethchivukula.hashnode.dev·Jun 24, 2024Understanding the Sliding Window TechniqueThe sliding window technique is a method used to solve problems involving arrays or lists by maintaining a subset of data within a certain "window" that "slides" through the array or list. This technique is particularly useful for problems involving ...Discusssliding window