Tagged articles
6 articles
Page 1 of 1
Java Tech Enthusiast
Java Tech Enthusiast
Jan 22, 2025 · Fundamentals

LeetCode 31 – Next Permutation: Problem Explanation and Multi‑Language Solutions

LeetCode problem 31, Next Permutation, requires rearranging an integer array in‑place to the lexicographically next greater arrangement by locating the first decreasing pair from the right, swapping it with the smallest larger element, and reversing the suffix, with Java, C++, and Python reference implementations provided.

Arrayalgorithmin-place
0 likes · 6 min read
LeetCode 31 – Next Permutation: Problem Explanation and Multi‑Language Solutions
MaGe Linux Operations
MaGe Linux Operations
Sep 11, 2024 · Databases

Master MySQL Upgrade: Key Tips, Commands, and Common Pitfalls

This guide details essential MySQL upgrade considerations, backup warnings, version‑specific changes, and step‑by‑step procedures for both in‑place and logical migrations, helping administrators safely move from MySQL 5.6 to 5.7 while avoiding common pitfalls.

Logicaldatabase migrationin-place
0 likes · 7 min read
Master MySQL Upgrade: Key Tips, Commands, and Common Pitfalls
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 27, 2021 · Databases

Troubleshooting MySQL 5.6→5.7→8.0 Upgrade Failure Caused by Orphan Tablespaces and Data Dictionary Inconsistency

This article details the background, error analysis, and step‑by‑step solutions—including logical dump/restore and tablespace transfer—for fixing a MySQL 5.6 to 8.0 in‑place upgrade failure caused by missing #sql‑ib orphan files and data‑dictionary mismatches in a large Zabbix deployment.

Tablespacedata dictionaryin-place
0 likes · 10 min read
Troubleshooting MySQL 5.6→5.7→8.0 Upgrade Failure Caused by Orphan Tablespaces and Data Dictionary Inconsistency
MaGe Linux Operations
MaGe Linux Operations
Oct 14, 2020 · Fundamentals

How to Remove Duplicates In-Place From a Sorted Array in Python

This article explains how to remove duplicates from a sorted array in‑place using Python, detailing the problem constraints, providing two illustrative examples, outlining a simple iteration‑based solution approach, and presenting a complete code implementation that operates with O(1) extra space.

Arrayalgorithmduplicate removal
0 likes · 3 min read
How to Remove Duplicates In-Place From a Sorted Array in Python